[Csnd-dev] Debugging qt-csound app on Windows
Date | 2016-07-04 20:34 |
From | Tarmo Johannes |
Subject | [Csnd-dev] Debugging qt-csound app on Windows |
Hi, I am writing a cross-platform app using Qt and Csound Api. It build and works fine but when I made an installer and try it on other computers, it sometimes fails. |
Date | 2016-07-04 23:00 |
From | Tarmo Johannes |
Subject | Re: [Csnd-dev] Debugging qt-csound app on Windows |
Hi, a bit more of the testing results:- on Windows XP (virtual machine, throws "Invlid entry point" errors (or I forgot what it exactly was), but after clicking on all "OK-s" it works as expected. cs = new Csound(); 2016-07-04 22:34 GMT+03:00 Tarmo Johannes <trmjhnns@gmail.com>:
|
Date | 2016-07-04 23:20 |
From | Tarmo Johannes |
Subject | Re: [Csnd-dev] Debugging qt-csound app on Windows |
And one more curious finding: When I start the program from command prompt from the folder where the .exe file is, it does not work. If I start from another directory (command prompt), it does.2016-07-05 1:00 GMT+03:00 Tarmo Johannes <trmjhnns@gmail.com>:
|
Date | 2016-07-05 00:26 |
From | Rory Walsh |
Subject | Re: [Csnd-dev] Debugging qt-csound app on Windows |
Can you debug with gdb? It usually comes installed with mingw/msys, otherwise you can get binaries here: You can simple place the gdb binary into the same folder as your .exe and run from there. No need to even install it. It will run just as it does on Linux. Don't forget to compile with debug info. On 4 July 2016 at 23:20, Tarmo Johannes <trmjhnns@gmail.com> wrote:
|
Date | 2016-07-05 08:08 |
From | Tarmo Johannes |
Subject | Re: [Csnd-dev] Debugging qt-csound app on Windows |
Oh, that was a good hint about gdb.exe - so much better than installing 2.5 Gb of dependencies for MS WindDbg. 05.07.2016 2:27 kirjutas kuupäeval "Rory Walsh" <rorywalsh@ear.ie>:
|
Date | 2016-07-05 23:02 |
From | Andres Cabrera |
Subject | Re: [Csnd-dev] Debugging qt-csound app on Windows |
You should also be able to debug within Qt Creator. If you are not building with Qt creator you can still start an external application in the Qt creator debugger frontend. Cheers,On Tue, Jul 5, 2016 at 2:08 AM, Tarmo Johannes <trmjhnns@gmail.com> wrote:
|