Code::Blocks Forums

User forums => Help => Topic started by: o1d d0g on November 30, 2007, 07:38:46 pm

Title: Open Watcom debugger error "Invalid option nx"
Post by: o1d d0g on November 30, 2007, 07:38:46 pm
Greetings,
First off, thank you for this great program! When I use this with Open Watcom 1.7 for Windows it compiles fine but using the debugger (wdw.exe) gives me this error in a pop-up window: Invalid option "nx"

The debugger window at the bottom finishes with status 1.

Any help much appreciated.

od

 
Title: Re: Open Watcom debugger error "Invalid option nx"
Post by: MortenMacFly on December 02, 2007, 02:03:56 pm
Any help much appreciated.
The Watcom debugger is *not* (yet) supported by C::B. C::B supports GDB and CDB (GNU and MS debugger).
The error raises because C::B passes GDB arguments to the Watcom debugger.
With regards,l Morten.
Title: Re: Open Watcom debugger error "Invalid option nx"
Post by: kisoft on December 03, 2007, 08:22:09 am
Teoretically you can start your debugger with this command file:
Code
@echo Start debugger with parameter %9
F:\Programs\IBMDebug\bin\idebug.exe %9
I does create command file "mydebug.cmd" and call this file vs gdb.exe.
This method using only for start external debugger, no other meanings for use this method!
Generally I start debugger from Tools menu.
WinXP SP2.

Good luck!