cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Does anyone know how to debug application in Creo Schematics using netbeans/eclipse ?

stripathy-2
4-Participant

Does anyone know how to debug application in Creo Schematics using netbeans/eclipse ?

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.


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
3 REPLIES 3

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.

Marco

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

Top Tags