Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
I am using Creo Parametric 2.0 M080
Hello Team,
We have developed a toolkit (.dll) file (few years back) to create a PDD file(.XML) by extracting sketch information.
Now, we would want to upgrade them to enhance its functionalities to fetch dimension and constraint information.
To debug the existing source code from visual studio, we couldn't able launch the debugging environment in Creo by running the visual studio by manually keeping breakpoints in the code. Few tips from toolkit documentation didn't helped us.
Debugging mode decouples the toolkit in the list of auxiliary applications adding it to more difficulty. on the other hand, if we start creo parametric program from start menu, toolkit is loaded in runtime and available in the session.
We also have few queries about the way, how functions are implemented in Creo Parametric.? we would like to connect with developers of this program, as more questions would arise as a part of conversation
Here are the errors that I faced
The breakpoint will not currently be hit. No symbols have been loaded for this document
Hi.
First you need to activate the creation of the Debug Database /Zi - *.pdb (check if it's there).
These files need to be adjacent to your .dll. Afterwards you can connect your Visual Studio to your running Creo session with the (latest version of the) dll running inside of it. CRTL + ALT + P (connect to process).
Change the connection type to Native (important).
Br,
Eike