Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Splitting debugger in two - specific debugger and common GUI
tomjnx:
obFus: In class GdbCmd_AddBreakpoint method ParseOutput, the Backtrace dialog is reloaded. I would have expected to reload the Breakpoints dialog. Am I missing something here?
oBFusCATed:
Yes, it should be fixed in the branch.
MortenMacFly:
I got another feature request:
When you compile C::B against wx 2.9.x and then debug into it using C::B you get tons of debugger warnings like:
warning: In file ../../src/msw/window.cpp at line 581: 'SetFocus' failed with error 0x00000057 (wrong parameter.).
...or:
warning: In file ..\..\include/wx/msw/private.h at line 379: 'GetWindowRect' failed with error 0x00000578 (invalid window handle).
This would be OK, but these are so many, that after roughly 30 seconds GDB and the C::B you are debugging from freezes completely. You have to kill the debugger (gdb) (not the debugee - this does not work) to get the "mother instance" of C::B back. This makes it basically impossible to debug into C::B which is compiled against wx 2.9.x.
Do you see a chance just to ignore a set of warnings, maybe even a pattern? It's done in the compiler plugin: You can skip messages with a certain pattern completely.
Alternatively: Maybe one can set a "debug log level", so that all stuff that starts with "warning" is hidden.
What do you think?
oBFusCATed:
Who is printing the warnings? GDB or wxWidgets?
MortenMacFly:
--- Quote from: oBFusCATed on January 29, 2012, 02:35:36 pm ---Who is printing the warnings? GDB or wxWidgets?
--- End quote ---
Good question. They appear in the debug log with the prefix "[debug]". So you tell me... ;-)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version