c - Debugging GTK Event callbacks -
I am trying to debug the gtk code for the first time and in fact, I debug the callback function for I got some idea which was not working: La effort But I do not know why, only the The second attempt to debug using Any good tips to be able to debug in such situations? Thanks The same server that you are using to debug, for example For, if inferior (GDB terminology for the program is being debugging) lets the server grab - GOP GUI (or terminal or AMACS etc.) is closed. Your idea of creating more programs is good debugging, but it's all difficult to work properly. As you've found, some GDB commands (originally related to inferior control) do not work in commands. Apart from this, it is almost not nearly convenient. You can move forward in the direction. For example, you can use SystemTap to check the program instead. However, there are good ways too. There is a way to run lower using the Virtual X server - nested, or running in a VM, then you can avoid the "external" X server for debugging. It would be great. Another way is to have two computers, and in one way the debugger on one and the inferior one in the other is actually the same answer, rather than just a virtual machine instead of a virtual one. gdb and when it hits the breakpoints, the entire desktop environment is freezing (I'm going to do Gnome-Shell I'm running under) It looks like
GDB was assigned to. Command to breakpoint:
(gdb) breaks on_key_press_callback (gdb) commands & gt; Back trace & gt; Next & gt; Next & gt; Next & gt; Continue & gt;
back trace command is executed, and then it becomes freeze.
gdbserver and
gdb using
tty1 (no article to freeze )) I did not have anything to look for after
next and
step breakpoint but could not code (
list code, inspect the stack, ect ..)
Comments
Post a Comment