Code::Blocks Forums

User forums => Help => Topic started by: doctor_vitus on May 24, 2007, 11:32:06 am

Title: How does CB determine which debugger option set (gdb/windbg) is to be used?
Post by: doctor_vitus on May 24, 2007, 11:32:06 am
Hi all!

Currently I'm experiencing problems with the use of the windbg.exe debugger on a Win32 D Application. When I start the debugger, I get three message boxes saying:

The command line option 'nx' is invalid
The command line option 'fullname' is invalid
The command line option 'quiet' is invalid

Several people have asked about this problem before, but I think a solution has not been provided yet.

To me it looks like CB is trying to pass command line parameters to windbg that rather belong to gdb. But to my knowledge, there is also support for windbg in Codeblocks.

So can anybody please tell me how does CB determines whether gdb oder windbg is used (and in fact which command line options have to be passed to the debugger)?

Thanks and best regards,
Vitus
Title: Re: How does CB determine which debugger option set (gdb/windbg) is to be used?
Post by: mandrav on May 24, 2007, 12:21:24 pm
This is currently hardcoded. CDB is used for MS compilers and GDB for everything else.
File a feature request.
Title: Re: How does CB determine which debugger option set (gdb/windbg) is to be used?
Post by: doctor_vitus on May 24, 2007, 12:38:52 pm
OK.

It would even be helpful if the hardcoded debugger settings for the Digital Mars D compiler on MS Windows would be changed to windbg (but only on MS Windows, as the Linux version of DMD required gdb).

Thanks and best regards,
Vitus
Title: Re: How does CB determine which debugger option set (gdb/windbg) is to be used?
Post by: stahta01 on May 24, 2007, 03:00:38 pm
FYI:
Link to file Feature Request
http://developer.berlios.de/feature/?func=addfeature&group_id=5358

Tim S