Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
I am trying to attach netbeans debugger with Creo Schematics. I specified the port correctly but am getting no luck attaching the debugger. Any help would be appreciated.
PTC eSupport Help is the section that PTC's TS has dedicated to the use of support site, not for help on a particular product.
Your request it's not in the right place and I'll ask Toby to move it for you.
Thanks Marco - I will move it.
Best,
Toby
Hi ,
as appear in the API guide :
" You can use a 3rd party application to debug the Java API methods.
Before running PTC Creo Schematics, set the following environment variables on
your computer:
• DEBUG_JAVA=true
• CLIENT_CLASSPATH to point to your Java *.class.
Run PTC Creo Schematics. When the application starts the line Listening for
ransport dt_socket at address: 54348 is displayed in the console
window. The number is the port number to be used in the debug application.
To run the application with a console window you must select the Display
console window check box in the Environment page of the PTC Creo
Schematics Options dialog box. For more information search the Help.
Connecting from an External Application
In the external application, create a connection with the following settings:
1. Connection Type: Standard (Socket Attach)
2. Host: LocalHost
3. Port: use the port number displayed in the console window"
when compiling your java class make sure to use -g option