User forums > Using Code::Blocks
undefined reference
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...
--- End quote ---
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.
--- End quote ---
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.
--- End quote ---
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. :?
Navigation
[0] Message Index
[*] Previous page
Go to full version