Debugging Musescore with GDB on windows

2 messages Options
Embed this post
Permalink
lasconic

Debugging Musescore with GDB on windows

Reply Threaded More More options
Print post
Permalink
Hi,
it would be nice to be able to debug musescore with GDB on windows,
and I can't find a way to do it.
Someone managed?

I know that -DCMAKE_BUILD_TYPE=DEBUG put -g in the makefile and that's good.
I also check that stripping is not done. It's only done by CPack, so
in the packaging phase.
Running file mscore.exe in GDB 5.2.1 in the win32install directory gives back:

(gdb) file mscore.exe
Reading symbols from mscore.exe...(no debugging symbols found)...done.

Any clue?

Lasconic

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
lasconic

Re: Debugging Musescore with GDB on windows

Reply Threaded More More options
Print post
Permalink
Hi!
Thanks to Laumai31 input, it's now possible to debug MuseScore step by step in QtCreator on Windows.
It should work directly from the SVN trunk since r2248 http://mscore.svn.sourceforge.net/viewvc/mscore?view=rev&revision=2248
There's still a little problem with images in the toolbar but debugging is possible!
I updated the QtCreator section of the compile instructions at: http://www.musescore.org/en/developers-handbook/compile-instructions-windows-mingw-svn-trunk

Now, as a windows user,  you can join the bug hunt :)

Lasconic

2009/6/20 Lasconic <[hidden email]>
Hi,
it would be nice to be able to debug musescore with GDB on windows,
and I can't find a way to do it.
Someone managed?

I know that -DCMAKE_BUILD_TYPE=DEBUG put -g in the makefile and that's good.
I also check that stripping is not done. It's only done by CPack, so
in the packaging phase.
Running file mscore.exe in GDB 5.2.1 in the win32install directory gives back:

(gdb) file mscore.exe
Reading symbols from mscore.exe...(no debugging symbols found)...done.

Any clue?

Lasconic


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer