Author Topic: Open Watcom debugger error "Invalid option nx"  (Read 4481 times)

o1d d0g

  • Guest
Open Watcom debugger error "Invalid option nx"
« 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

 

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: Open Watcom debugger error "Invalid option nx"
« Reply #1 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.
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

Offline kisoft

  • Almost regular
  • **
  • Posts: 194
Re: Open Watcom debugger error "Invalid option nx"
« Reply #2 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!
OS: WinXPSP3
wxWidgets: 2.8.12
CodeBlocks: Master github cbMakefileGen plugin:
https://github.com/kisoft/cbmakefilegen