Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
How to set up Visual Studio 2012 for debug dll/exe ?. There are always "not loaded symbols" on breakpoints, but in Modules list everything okay.
Solved! Go to Solution.
i guess, it's project property which is the main check point.
If you jump into Toolkit functions, you are inside Creo and the debug symbol tables for Creo are not provided by PTC (probably to avoid possibility of reverse engineering).
Maybe this is what you observe?
I'am trying to debug interactive dll.
From documentation:
Debugging an interactive DLL
1) Start PTC Creo Parametric with the DLL registered and loaded
2) Use the debugger to attach to the process xtop.exe.
3) Set break points in the callback functions that you wish to debug.
may be something wrong with my make file ?
in the User Guide of API, there is instruction for the debug.
1, compile change in VS /Od /Z7
right click the project and in the settings
2, link change in VS /debug (regardless of /debug:full, i did not find it now)
as #1
3, enable VS debug in environment variable ALLOW_MS_DEBUG set true
my computer right click, property, and advanced settings , advanced tab, environment
after the settings
run creo
start the dll
open taskmanager, ctrl+alt+del
in the processes, right click and choose debug
make a right choice in the dialog following, and it opens VS
set the break point in VS
do some operations with the dll,
and debugging
I tried this option but still have "not symbol have been loaded for this document", and break point don't stop
yes, i can share some code, with base callback functions, but without code they actually do, when i prepare solution, I'll send you on e-mail, thanks. P.S. I can't share whole code because of company secure politics.
i send you a email, pls check
i guess, it's project property which is the main check point.
yes, you are right, I'll try to modify my make file or, organize project properties according to your example project, thanks
good luck!