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

smallB's suggestions

<< < (5/13) > >>

smallB:
5. While debugging something like VS's "show next statement"(yellow arrow on debugging bar) could prove to be very useful.

smallB:
6. Debugger doesn't stop on a breakpoint. In project (http://www.mediafire.com/?h34w9ow9ok2wn88) set debug point on line no 15 in main.cpp. This will have no effect. Debugger will exit with code zero. In order to reach this point one have to set another debugging point - i.e. no 12  in main.cpp. This time debugger will skip the first debug point and stop on the second (the wanted one).

oBFusCATed:
As stated in the other topic if it works in a command line gdb, but is doesn't in c::b, then it is some bug on our side.
But if it doesn't even work in gdb then we can do nothing, because gdb is the read debugger, c::b is just a wrapper/gui over it.

ollydbg:

--- Quote from: smallB on November 08, 2011, 09:46:29 am ---6. Debugger doesn't stop on a breakpoint. In project (http://www.mediafire.com/?h34w9ow9ok2wn88) set debug point on line no 15 in main.cpp. This will have no effect. Debugger will exit with code zero. In order to reach this point one have to set another debugging point - i.e. no 12  in main.cpp. This time debugger will skip the first debug point and stop on the second (the wanted one).

--- End quote ---
I just test your project, and I found that it is your fault.
1, you have enabled the "-O2" option.
2, you have enabled the "-s" option.
Remove those options, and rebuild your target, this will let your debugger works quite well. Next time you meet such a problem, I suggest you need to post the "full build log" and the "full debugger log".

ollydbg:

--- Quote from: smallB on November 08, 2011, 09:36:49 am ---5. While debugging something like VS's "show next statement"(yellow arrow on debugging bar) could prove to be very useful.

--- End quote ---
No idea about your feature request.
Please show us the screen shot, and how it works by step by step mini sample code. Thanks.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version