Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hi how can I debug a shared lib in qtcreator? it stops somewhere in assembler of the main executable but never reaches my plugin (shared lib) Many thanks Michael
You'd link the library to a minimal executable with an
@ int main(...) { call_function_from_library(); } @
put a breakpoint at main, press F5, F11 etc..
[EDIT: code formatting, please wrap in @-tags, Volker]
I don't want to link, my app IS a shared lib defined in the *.pro. I've reported this to bugs.
How can a app be a shared library?
A shared library is not an "app", and it cannot be debugged "stand alone", pretty much because you can't run it "stand alone" either.
it's a X-Plane plugin but thanks anyway
Then your application is "X-Plane" and you debug this. At some point of time it will load the plugin, and you can debug that.
not working on Linux, reported bug
[quote author="mike4" date="1321784613"]not working on Linux, reported bug[/quote]
Do you mind to report back a link to the bug report, please.
https://bugreports.qt.nokia.com/browse/QTCREATORBUG-6520
Thanks. You did notice the request for a debugger log in that ticke a few days ago?
added log.