XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
(Deleted User) Subject: debugging Java
Author: (Deleted User)
Date: 16 Jan 2002 06:34 AM
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?

Posttop
Ivan PedruzziSubject: 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
>
>

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.