Author Topic: undefined reference  (Read 12740 times)

Offline mikethebike

  • Multiple posting newcomer
  • *
  • Posts: 24
    • Homepage
Re: undefined reference
« Reply #15 on: April 14, 2009, 07:02:08 am »
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

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: undefined reference
« Reply #16 on: April 14, 2009, 07:44:56 am »
The guys at x-plane.org told that I'd never get a debug version...
See... ;-)

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.

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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ