Quote:
Originally Posted by Whistler
...and I think the Code::Blocks is the best one
|
OK - @Whistler - I've got this Code::Blocks working, but I have no idea how to use it's debugger - I mean - how to attach the debugger of Code::Blocks to my podbot_m.mdll (or hlds.exe) to let it catch my crashes.
Another thing - I still didn't solve the problem with correct settings for Mingw to get DrMingw working correctly - to show me exact code place and line number where the crash happened.
Here are my flags (in Code::Blocks) for the compiler:
-march=i586 -DOPT_TYPE=\"debugging\" -ggdb3 -DNDEBUG -DWIN32 -Wall -Wno-unknown-pragmas
and here my flags for the linker:
-Xlinker --add-stdcall-alias --export-all-symbols
The dll is about 3MB (normally - not debugged version is about 317KB) - so I believce there should be all possible info debugger needs.
What is missing? When I compile with MSVC++ 2005 Express, when I get a crash, DrMingw is working correctly.