Re: Restarting a session started on the commandline..

Nathan Fiedler <[email protected]> Tue, 05 Dec 2006 01:12:58 -0800
Newsgroups gmane.comp.java.jswat.user
Organization Blue Marsh Softworks
Message-ID <[email protected]>
That is indeed a shortcoming of the launch code. It does not save the 
values given on the command line. I think this was to avoid clobbering 
whatever session settings you might have. Nonetheless, what you are 
experiencing is arguably worse, so I will address this by the end of the 
week. I entered bug 1092 to track this issue.

Thanks

n


Alex Crowther wrote:
> 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