Dear Tecnomatix Developers,
I currently have a problem with the debugging.
It always says: "The breakpoint will not currently be hit. No symbols have been loaded for this document"
The funny thing is that it worked well last week.
I'm using VS2017 Community Version and PS13.1. Also I'm starting VS as other user to recieve admin rights in order to copy the output (1 .dll + 1 .pdb) into the DotNetCommands folder.
Please find attached my Project Properties.
After I click on start in VS it seems like that two Tune.exe processes start (see picture of AttachToProcess-Window in attachments).
When I stop debugging one of the Tune.exe processes terminates. But the other one is still running. Now I could attach to this runningTune.exe process (Ctrl+Alt+P) and it would stop at the breakpoints, but this method is quit annoying and I can't use the QuickWatch.
Does anyone has a hint or suggestions for me?
Solved! Go to Solution.
sometimes the tune.exe does not exit properly.
Process Simulate is closed, but a tune.exe is still running.
If you try do compile and debug, your *.dll can not be overwritten, because it's still used
by the running tune.exe
check the output window to see if your build is successfully.
If not, check that no tune.exe is running while compiling.
My build succeeds.
And the functionality provided by the dll is also working well.
Only the debugging is not working
I realised that when I start PS through the debugger, no modules are loaded.
When I stop the debugger, the PS-Process is still running. So I can attach to this process again. This way I can see that a lot of modules including my dll are loaded.
What happens when you start the debugger?
How many processes can you see in the AttachToProcess-Window (Ctrl+Alt+P) and how many modules can you see in the Modules-Tab (Debug->Windows->Modules)?
When I change Start External Program to Tune.exe and the Working Directory to "C:\Program Files\Tecnomatix_13.1\eMPower" I get the warning that the external program cannot be found.
If I still click on start an error message appears.
It says that the debug target Tune.exe is missing, but it's definitly in the C:\Program Files\Tecnomatix_13.1\eMPower-Folder.
Please find attached the warning and error message.