Why does the debugger show garbage in backtrace or stepping does not seems to match with my source code?
When using remote debugging it often happens that the binary and its libraries on the host side do not match with the binary and its target side. When using version 6.7 or greater, gdb will warn you if it thinks that some libraries don’t match by printing a warning to the console. If you don’t use IDE to upload your binaries and libraries, you have to take care to keep then in synch on every launch. You can check the exact files gdb is using on the host side by exploring your libraries in the Modules view.
Related Questions
- How do I prevent JDebugTool from stepping into 3rd party packages and trying to display 3rd party source code that I am not interested in?
- Why does the debugger show garbage in backtrace or stepping does not seems to match with my source code?
- Is there a source code level debugger with breakpoints, single-stepping, etc.?