| <html> | |
| <head> | |
| <title>Developing Scripts in NetBeans</title> | |
| <meta HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8"> | |
| </head> | |
| <body> | |
| <a name="top"></a> | |
| <h1>Debugging Java OpenOffice.org macros in NetBeans</h1> | |
| This document describes how to set up NetBeans for debugging Java macros | |
| in OpenOffice.org. | |
| <ul> | |
| <li>Follow the instructions at | |
| <a href="http://api.openoffice.org/common/man/IDEintegration/OfficeNetBeansIntegration.html#Debugging"> | |
| Debugging Java components in NetBeans/Forte for Java</a> | |
| to set up your OpenOffice.org installation to allow debugging of the JVM. | |
| <li>Start OpenOffice.org and run one of your Java scripts. This will | |
| make sure the JVM is running. | |
| <li>Attach to OpenOffice.org JVM using the NetBeans Debug/Start Session/Attach... | |
| menu option. | |
| <li>Load a script source in NetBeans and set up breakpoints using | |
| Debug/New Breakpoint... menu option. | |
| <li>Run the script in OpenOffice.org. | |
| </ul> | |
| <hr> | |
| Last Modified: Jan 13 2005 | |
| </body> | |
| </html> |