|
top
|
 Subject: RE: debugging Java Author: Ivan Pedruzzi Date: 16 Jan 2002 11:44 AM
|
Hi Martin,
You need Sun JDK in order to debug http://java.sun.com/j2se/1.3/
If you are running a version earlier then 1.3 you need to install the
JPDA package from Sun (http://java.sun.com/products/jpda/download.html)
After the installation you need to run the auto-detect feature in stylus
(tools->options->java virtual machine)
Double check under tools->options->java virtual machine->parameters you
should have something like that
-Xdebug -Xnoagent
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000
-Djava.compiler=NONE
If your setup is correct, you will see the JVM running in debug mode in
the Stylus's about-box
The Attach command is design for debugging a standalone java program
running on external JVM, no for java extension.
You don't need to save, Stylus does before compiling.
Ivan Pedruzzi
eXcelon Corporation
http://www.stylusstudio.com
> -----Original Message-----
> From: stylus-studio-tech Listmanager [mailto:listmanager]
> Sent: Wednesday, January 16, 2002 6:44 AM
> To: Recipients of 'stylus-studio-tech' suppressed
> Subject: debugging Java
>
>
> From: "Martin Roberts"
>
> Thanks for your help with the extensions. I now have them
> running but behaving badly, so I want to debug. How do I get
> the java debugger working. Can you explain the Attach JVM
> option and also explain if you need to save code before debugging.
> The behaviour I have is that it prompts indicating that it is
> going into the java file but never allows me to step though
> the java code?
>
>
>
> To reply: mailto:stylus-studio-tech.4424@edn.exceloncorp.com
> To start a new topic: mailto:stylus-studio-tech@edn.exceloncorp.com
> To login: http://edn.exceloncorp.com/~SSDN
>
>
|
|
|