advertisement

Weblog:   The Best Java Debugger I've Ever Seen
Subject:   Inputting command line arguments to Omnienscent
Date:   2003-05-14 11:24:47
From:   anonymous2
Response to: Inputting command line arguments to Omnienscent

J,


Bil here.


Depending on what you're trying to do, you should be able to just type:


% debug MyProgram arg1 arg2 arg3


If there's any confusion or odd Windows interactions, you can always take the .bat file apart. It is nothing more than a wrapper for:


% java Debugger MyProgram arg1 arg2 arg3


(and a few extra flags for heap size etc.)


The switches can be tricky and you might wish to add them to the .bat file, or just type them in yourself:


% java -DMySwitch Debugger MyProgram arg1 arg2


Of course, you should run the demo version first to get the hang of it before running your own programs:


% debug (and push "Demo")


Good luck, let me know how it goes,


-Bil