User forums > Announcements

Remote Debugging: "Interrupting debugger failed :("

(1/2) > >>

MasterAlexei:
Hello every one,
I did build the tag 20.03. It was my upgrade from trunk rev 11835 to that new 20.03 version.
By remote debug i did find out, that I cannot set breakpoints on the running target. I get error "Interrupting debugger failed :("

I did downgraded back to rev 11835 and there it is possible to set breakpoints.

Moreover, i did copy the directory src\plugins\debuggergdb from src of rev 1835 to src of 20.03 and compile it AND I CAN set breakpoints in remotely running target.

Also there is a definitive a bug in gdb plugin in 20.03 for remote debugging.


Miguel Gimenez:
There are only 7 commits in the src\plugins\debuggergdb folder between 11835 and 20.03, can you do a bisection?

r11877 Fix crash when trying to attach when there is no loaded project
r11876 Fix regression when executing additional commands before
r11860 Make sure we always store remote debugging project options sorted by target
r11859 Make sure to set the modified flag for the project when the remote debugger options are modified
r11858 Rework the plugin to not use ProjectLoaderHooks
r11853 Make sure we don't save empty serial baud attributes in the debugger extension
r11852 Improve UI of Debugger project options panel

MasterAlexei:
I'll try, it will take some time.

MasterAlexei:
Hello every one,

well it does not took too much time.

In Rev r11853  it works, and is possible to set break points
in Rev r11858  it does not work anymore.

What I did: I checkout this two revisions of trunk, just copy the directory src\plugins\debuggergdb into CB 20.03 source dir and compile it, one after another, started my project, and tried to debug it. Debug session starts. Target app runns.

If there was some Breakpoints, that was set BEFORE apps start, they are set, and app stops on them.

If App already runs, it is not possible to set BPs.

Small addition:
It also not possible (from Rev r11858 ) to stop debuggie at all. Only killing the gdb on host and on target helps.
In Rev r11853 it is still possible to stop the debug session.

Best Regards,
Alexey

Miguel Gimenez:
I have just created a ticket, thank you for reporting and bisecting.

Navigation

[0] Message Index

[#] Next page

Go to full version