News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Open Watcom debugger error "Invalid option nx"

Started by o1d d0g, November 30, 2007, 07:38:46 PM

Previous topic - Next topic

o1d d0g

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


MortenMacFly

Quote from: o1d d0g on November 30, 2007, 07:38:46 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: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

kisoft

Teoretically you can start your debugger with this command file:
@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:
[url="https://github.com/kisoft/cbmakefilegen"]https://github.com/kisoft/cbmakefilegen[/url]