Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Issue with step-wise debugging (F7) in debugger branch

(1/2) > >>

MortenMacFly:
I experience an issue with the current SVN head version of the debugger branch:

Stepwise debugging ("next line", F7) seems not to work for me anymore or at least works not reliable. Whenever I hit "F7" is sometimes steps to the next line in the code, but then suddenly somewhere completely different - sometimes it steps deeper into the code, sometimes it seems to step out.

Does anyone else experience the same??? I'll try to create a debug-log, but often in addition the IDE freezes and never returns. I cannot even kill the child nor the debugger in that case, I have to kill the C::B instance running the debugger.

OS: WinXP-SP3, Compiler: TDM 4.5.2, Debugger: "GNU gdb (GDB) 7.2" (also from TDM webpage).

oBFusCATed:
Can you try a debug version of C::B and when it locks to attach a gdb to it and see where it has locked itself?

I have  (almost) no locks or crashes related to the debugger, only CC crashes...

This is on Linux, on windows7 is very bad story, but I'm not sure what it is causing it.

MortenMacFly:

--- Quote from: oBFusCATed on August 21, 2011, 03:49:03 pm ---Can you try a debug version of C::B and when it locks to attach a gdb to it and see where it has locked itself?

--- End quote ---
How? Using another C::B instance?

oBFusCATed:
Yes or using gdb directly from the command line.

oBFusCATed:

--- Quote from: MortenMacFly on August 21, 2011, 03:30:54 pm ---Stepwise debugging ("next line", F7) seems not to work for me anymore or at least works not reliable. Whenever I hit "F7" is sometimes steps to the next line in the code, but then suddenly somewhere completely different - sometimes it steps deeper into the code, sometimes it seems to step out.

--- End quote ---
I've seen this on optimized code, but I think this is normal and this is GDB feature, than something broken in C::B

Navigation

[0] Message Index

[#] Next page

Go to full version