News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

undefined reference

Started by mikethebike, April 10, 2009, 10:38:45 AM

Previous topic - Next topic

mikethebike

The guys at x-plane.org told that I'd never get a debug version...

I only have some VB.NET experience, where debugging is very easy. If you can
let me know, step by step, on how I could use CB, a huge thanks then. Otherways
I'll have to try Eclipse. I cannot use VC because of compatibility troubles with SDL.

Regards Michael

MortenMacFly

Quote from: mikethebike on April 14, 2009, 07:02:08 AM
The guys at x-plane.org told that I'd never get a debug version...
See... ;-)

Quote from: mikethebike on April 14, 2009, 07:02:08 AM
If you can let me know, step by step, on how I could use CB, a huge thanks then.
Open a file when your plugin starts (search for fopen on Google), pipe in what you need to know during debugging, close the file when your plugin ends. Inspect the file using your favourite editor, e.g. Notepad.
Notice that there are for sure logging frameworks (e.g. http://log4c.sourceforge.net) you can easily use. There are also debugging/logging frameworks that protocol to a server during runtime. But  I have no example atm.

Quote from: mikethebike on April 14, 2009, 07:02:08 AM
Otherways I'll have to try Eclipse.
You can try - but the problem here is not (I repeat:) NOT solvable with another IDE. I don't really get why it's so hard to understand that if you want to debug an application with a plugin framework you'll need a debug version of the application itself and a debug version of your plugin. It starts to become annoying to repeat myself over and over again. :?
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]