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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Getting the debugging environment of Creo with Visual Studio to debug toolkit .dll file

Srinivasan
1-Visitor

Getting the debugging environment of Creo with Visual Studio to debug toolkit .dll file

I am using Creo Parametric 2.0 M080

Dear Team,

We have developed a toolkit(.dll) application(few years back), with few functionalities to export sketch information into PDD file(.XML).
Now, we would like to debug this .dll file and interested to upgrade it in such a way, that it captures all sketch entity information such as dimensions and constraints.

We are facing trouble when setting-up the debugging environment. when we set breakpoints in Visual Studio code and run local debugger, it triggers the Creo executable but then this toolkit is not running by default in the list of auxiliary applications.

We would like to have a detailed session with the developers of this program, as we also have other queries related to functions implemented in the code.
1 REPLY 1

Hi Srinivasan,

 

Debugging the creo toolkit application is easy in the visual studio than compared to vscode. 

 

Follow the steps to debug a dll application:

1. Open the creo parametric application. (Don't load the dll yet)

2. Attach to the creo parametric process (xtop.exe) | Debug -> Attach to Process

3. Then load the dll file.

4. Execute the process, it will break at your specified breakpoint.

 

 

Announcements


Top Tags