User forums > General (but related to Code::Blocks)

Windows 10 Debugger is not working :(

(1/3) > >>

ZCoder:
Hi. Sorry for my bad English. I can`t debug my code in code::blocks. I place breakpoints in my code and then press the debug/continue button. It opens a window and waits for my inputs. When I write variables and click enter it just exits from the program. When I was using windows 7 it worked but in windows 10 is not working. PLEASE HELP!

BlueHazzard:

--- Quote from: ZCoder on September 15, 2016, 06:00:09 pm ---When I was using windows 7 it worked but in windows 10 is not working. PLEASE HELP!

--- End quote ---
The EXACT same program?


--- Quote from: ZCoder on September 15, 2016, 06:00:09 pm --- I write variables and click enter it just exits from the program.

--- End quote ---
is it a valid input?
does it work if you run it without debugger?

ZCoder:
Yes, I`ve tested the exact same program. and yes I enter a valid input, when I run without debugger it works.

rlb:
That sounds suspiciously like your code is invoking undefined behaviour somewhere. If so,
a) symptoms are not expected to be consistent between OSes, OS versions, and linking (including debugging) options - or even within them!
b) it may well be impossible to tell where it does so, on this forum, because it's a programming problem, not a Code::Blocks one. You'll need to ask in a more specialised forum, such as StackOverflow.

Sorry.

stahta01:
The CB Dev that does debugger stuff; always says to turn on the debugger log and the post the log.

I am NOT a person who uses the debugger; so, can't help you do this steps.
Settings -> Debugger settings
Checkmark "full (debug) log"

CB Version and debugger version is also info they normally want to have.

Tim S.

Navigation

[0] Message Index

[#] Next page

Go to full version