Home » Community » Newbie corner » [solved] U++ TheIDE integrated debugging tutorial ? (Can't get the built-in debugger started, would use some help)
[solved] U++ TheIDE integrated debugging tutorial ? [message #52546] |
Tue, 22 October 2019 00:15  |
xrysf03
Messages: 43 Registered: November 2018 Location: CZ
|
Member |
|
|
Dear everyone,
I'm playing with U++, trying to start doing something useful... I'm just past the "hello world" stage and would like to use the built-in debugging capabilities.
My app is still pretty simple (I hope) - although I'm using the ScatterDraw component, which is actually quite rich and its source code is not exactly tiny. I'm also using the kissfft. And an external rtlsdr library, in the form of a DLL that does not have debugging symbols, and may be forking some threads on its own (not sure). Normally I build in the "release" mode, and my app is about 5 MB large. If I switch to the "debug" mode, the compiled binary is about 129 MB. I'm attaching the "output mode" menu as it looks in my UPP install. I have not tweaked anything in that "output mode" menu, just release vs. debug. Still, even after I invoke Build->Clean, switch to Debug output mode and rebuild the app and its source-level dependencies, whenever I try the "Debug" command (F5), all I ever get is a message box saying
"Failed to obtain information about threads. Make sure your application possesses debug info." etc.
Is this something trivial, or would I need to compile the rtlsdr.dll from source code as well, or is there some other voodoo in play? Should I toggle the debugging symbols per component in the "output mode" menu?
Any ideas welcome 
Frank Rysanek
[Updated on: Tue, 12 November 2019 22:20] Report message to a moderator
|
|
|
|
Re: U++ TheIDE integrated debugging tutorial ? [message #52573 is a reply to message #52548] |
Tue, 22 October 2019 18:27   |
xrysf03
Messages: 43 Registered: November 2018 Location: CZ
|
Member |
|
|
Dear Koldo,
thanks for all the tips and for your immediate responses 
Yes I'm using MinGW, and for the moment it does the job fine.
Debugging mode is not my favourite...
I've tried the same approach on my earlier "hello world" app: pretty much an empty GUI window with a single text label, just the "main.c" translation unit, no libraries... and even that ended up with the same error message.
I've tried doing this in TheIDE (the OS is 64bit) and TheIDE32, and they both behave the same.
I should say that I'm using a pretty old build: 12610 nightly. I should probably try an update to a more recent release or some fresh nightly before asking silly questions. Time for that later, I guess. The problem I'm debugging in my toy app should not be too complicated, I guess I can swat that bug using just basic instrumentation, without debugging symbols enabled.
Thanks again for your help. I'll post to this thread again, if I discover something worth reporting - but before that, I'd do my homework and install a current version of U++ 
Thanks for making U++ freely available.
Frank
|
|
|
|
Goto Forum:
Current Time: Tue Apr 29 08:22:37 CEST 2025
Total time taken to generate the page: 0.03617 seconds
|