Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: tiwag on January 30, 2006, 11:37:51 am

Title: serious debugger problems
Post by: tiwag on January 30, 2006, 11:37:51 am
since a few revisions i have serious problems with the debugger when debugging CB

very often the debugger hangs and i can't do anything but "Stop debugging" which closes the entire debugging session.

a few situation, where i got these hangs reproducible:

* added a watch to dereference a pointer to (or a member inside) a structure (cbFindReplaceData or cbStyledTextControl)
* using "Send user command to debugger" and sending just "info break"
* trying to step over a SANITY_CHECK macro
Title: Re: serious debugger problems
Post by: takeshimiya on January 30, 2006, 12:39:01 pm
* added a watch to dereference a pointer to (or a member inside) a structure (cbFindReplaceData or cbStyledTextControl)

I experience this hang very often (it's not the hang I was talking the other day that Yiannis fixed).
But if I remember well, I experienced that GDB hangs (well, it uses the CPU 100%), and the only way to continue is killing the gdb.exe process.
Title: Re: serious debugger problems
Post by: mandrav on January 30, 2006, 01:03:39 pm
Quote
very often the debugger hangs and i can't do anything but "Stop debugging" which closes the entire debugging session.

It's not a hang but rather the state it "thinks" it's in is wrong :P
Let me fix this...