Search












 

Remote debugging environments have become the industry standard for debugging server-side software, and are widely available. The instructions below are for Java's jdb debugger, but will give you a good idea of how to debug your Droplets regardless of which remote debugger you use.

1. Environment variables

- jdk1.3\bin\jdwp.dll must be in your PATH
- jdk1.3\bin\jdwp.dll must be in your PATH

2. Compile your Droplet

Make sure your Droplet has been compiled using the -g option of javac. This will allow you to print local variables while debugging.

3. Configure and Start your Droplets Server

In your registry, under HKEY_LOCAL_MACHINE/SOFTWARE/Droplet/DropletServer/Java, edit the jvm-options key as follows:

-Xdebug

-Xrunjdwp:transport=dt_socket,

     server=y,suspend=y,address=5150

-Xbootclasspath:c:/jdk1.3/jre/lib/

     rt.jar;c:/jdk1.3/lib/tools.jar

-Xnoagent

-Djava.compiler=NONE

Now start the Droplets Server console (DropletConsole.exe).

4. Start the remote debugger

Now you're ready to debug. You can now specify debugger commands to set breakpoints, etc.

  home next >>>


Questions?
Contact us
Call 214.969.9970
Fax 214.774.4900

 


Article
java.sun.com: Droplets brings GUIs to the Internet

 
 


News
U.S. Patent Office Issues Patent for Droplets' Groundbreaking Technology 

Droplets, Inc., Awarded Government GSA Contract 

Java Servlets Get a New Lease on Life with Droplets 

Droplets Announces Linux Validation For All IBM eServer Platforms

Borland® JBuilder™ To Include Droplets User Interface Server™ and SDK

Droplets Earns Prestigious SunTone Certification from Sun Microsystems

 
   
©2004-2020 Droplets, Inc. All rights reserved. Protected by U.S. Patents 6,687,745 - 8,626,829 - 9,397,971 - 9,807,200 Australia Patent 769099, Canada Patents 2385044, 2744848, Japan Patents 5,468,186 - 5,108,967 - 5,143,926