Restarting a session started on the commandline..

Alex Crowther <[email protected]> Mon, 4 Dec 2006 09:11:51 -0800 (PST)
Newsgroups gmane.comp.java.jswat.user
Message-ID <[email protected]>
Is it possible to restart if you stop the application
completely ?

I start the debugger as follows:

C:\mpp-sdk-3d>C:\jswat-3.13\bin\jswat.exe
-J-Djswat.classpath="player.jar"
-J-Djswat.sourcepath="c:\projects\Games\PROJECT_NAME\Source\Full2D\J2MERef\src"
-J-Djswat.launch="com.mpp.player.PowerPlayerApp
c:\projects\Games\PROJECT_NAME\Source\Full2D\J2MERef\mpp.jad"
-J-Djswat.runto="Game.run()" 

player.jar contains the mpowerplayer J2ME midlet
emulator (which has entry point PowerPlayerApp). 

So the setup is:

jswat loads mpowerplayer which in turn loads the
midlet.

Which is all good.

Where it goes wrong, is if I want to restart 
mpowerplayer, I have to close jswat and restart it.

The reason for this is, if I click on
"session->Start",
all the dialog boxes (JVM arguments, classname, etc)
are blank...

Is there a way to start the jswat such that you can
stop debug target, and then restart it, and not
have all the session start dialogs empty, taking into
consideration that I am doing this all on the 
command line from a batch file

Thanks for any advice...

Alex


 
____________________________________________________________________________________
Yahoo! Music Unlimited
Access over 1 million songs.
http://music.yahoo.com/unlimited