Hi, I'm using Codeclap 0.9.7.1 on x86_64 linux (Ubuntu 20.04)
Issues:
pgrep <application>
the list of PIDs grows. If I close the application with 'Stop/F12' this 'persistence' doesn't happen.dlopen
codeclap does not pick up its debug information and does not stop at any function breakpoints inside the shared object.Requests:
main()
all the time and having to scroll to the part of the code I was just at.Thanks
Hi,
regarding your issues:
I wasn't yet able to reproduce this. At least not with a "minimal X11 example". I may still be able to find something when looking deeper into differences how the application exits in both ways; this could be something like a timing issue when the child process doesn't exit fast enough. Is there anything in your environment that differs from the default 20.04 installation (desktop environment, ..)?
This should work but only (and that may be the problem here) if the debugger breaks at some point roughly when/after reaching main and before the dlopen happens. I can see how this can be unexpected and annoying at times and will look into fixing this.
requests:
Good point. I will have to think a bit about the behavior, for example if ignoring breakpoints until the cursor is hit could be a good idea but I wouldn't yet know how to handle if the cursor isn't hit at all which then would be really confusing. So to start with I may limit this to something like "restart and break at the current position". Not sure if it is best to do this for all threads currently in "stopped" state or only the one that was last debugged.
I tend to avoid windows that have one very specific narrow functionality but having something like a "single expression" panel could be a good idea. When used with a ",mem" expression this is pretty much exactly what you described while being capable of doing more for example be an assembly panel when used with ",asm" etc.
After adding remote debugging support this would be at least a bit easier. However from what I gathered from the gdbserver documentation it is rather unlikely this will happen anytime soon.
Best regards