I blogged some time ago on the dcdev blog about how to compile DC++. This time you need a debug unstripped build.
You need cygwin in order to debug. Also make sure that while installing cygwin you checked the option for gdb (gnu debugger).
If not, start again the cygwin setup and add it, once you got gdb, the steps are the following :
- Fire up cygwin, and let's assume your dc++ debug exe is in c:\dc++
- give the command : cd /cygdrive/c/dc++
- gdb DCPlusPlus.exe
- run
Now, go back to cygwin, you will see a crash message
- give command : bt
- or bt full
That's it.