Hi,
I have started using the debugger. I have some questions / notes.
Is there a way to map deleting watches to a different key than delete? I do not have one in my keyboard layout and do not see any related entry in keybindings menu.
After clearing an expression, old value remains visible in ‘Value’ column. Is it intended? I would expect the entry to be deleted.
I am using Linux and a tiling window manager — bspwm. When I close codeclap's window, it fails. It prints
X connection to :0 broken (explicit kill or server shutdown).
and exits with error code 1. In such cases not all settings are saved, e.g. new keybindings.
(I have not seen problems when closing the program by sending SIGTERM signal).
Before understanding what was the cause, it happened to me a few times. Sometimes on restart the program gave me an option to “try to restore settings” (or something like that, I do not remember exactly). One time the program would not start, crashing each time, so I had to delete it and start with a new instance.
Some symbols seem to be missing — constants like XCB_VISUAL_CLASS_TRUE_COLOR are “undefined” (they show fine in gdb).
When I use embedded stepping the debugger does not always follow the current line, so it disappears from the visible region.
Stepping into sometimes does not stop the program. I am able to reproduce this with code below (g++ -gdwarf -O0)
| #include <cstdio>
int main(int argc, char **argv) {
(argc != 0) ? (void)0 : (printf("AAA"), (void)0); // Stepping into this expression does not stop the execution of the program
int x = 6;
int y = 7;
y *= x;
}
|
I do not know if these issues have been reported previously, if so sorry for wasting time.