Debug QtCreator - GDB HowTo

asked 2019-09-04 22:50:37 +0200

Bobsikus gravatar image

updated 2019-09-05 08:34:28 +0200

Hello guys, maybe (probably yes) I am the stupid one. I am trying to debug crashing application. I can easily reproduce the problem, and the issue always come up at the same memory address. Problem is, whether I try to scan dump file, or if I remote debug running App from SDK, it never gives me all info, symbols are not loaded as I get correctly.

When I have set brakepoint to this memory address, debug won't start at all, saying it does not have related symbols, but anyway I get error messages like this: Unable to find dynamic linker breakpoint function. GDB will be unable to debug shared library initializers and track explicitly loaded dynamic code.Could not load shared library symbols for 42 libraries, e.g. the "info sharedlibrary" command to see the complete listing. Do you need "set solib-search-path" or "set sysroot"? I have tried to google and have found a lot of info, but mostly useless or at least confusing or related to linux Host only..

I see "sysroot" in kit predefined, probably correctly (i did not touched it) I would love the AIPAP (As Idiot Proof As Possible) manual what to set up in SDK to make it work to load all errors as good as possible. BTW I am running WIndows 10 x64, at this time sdk 2.2.4. Thanks to anybody :)

edit retag flag offensive close delete