I am trying to debug a BPM using Visual Studio. I am able to attach to the w3wp.exe file on the Epicor server. When I go to set a breakpoint I receive the message:
The breakpoint will not currently be hit. No symbols have been loaded for this document.
I have dragged all the files from the:
\server\E10Web\E101SWTestApp\Server\BPM\Sources\BO\JobEntry.ChangeJobHeadProdTeamID\XXX
folder into visual studio.
The web.config on the server has been changed to: loadPdb=“true”
Has anyone come across this problem and found a solution to it?
Have you found a resolution to this issue? I’m running into the very same problem. I’m using the Epicor ERP C# Programming Guide 10.1 that describes the steps, including the web.config file property, but I continue to not have the symbols loaded.
I misread the settings for the debugger Options. Enable Just My Code and Require source files to exactly match the original version must be UNCHECKED. I had them checked which was my problem. Symbols now load and debugger breakpoints now work.
First make sure the BPM will actually hit first. I normally will put in a “Show Message” to confirm my BPM does run.
Also, check if there is any problem with the path in the web.config.
Drag the BPM source files into VS.
Attached the w3wp.exe process
Wait for all the things to load up first.
Find the source code that is your custom code and put a break point. Make sure that the break point is placed properly as sometimes you will get the message failed to bind. Place it on another line so that you get a solid red dot.
Then run the BPM and confirm that message box appear first then you know your code is going to run next.
Hopefully this will work.
Attached are my settings in VS and the break point does hit.
Thanks for your help Toby.
It seems that VS shows the error with no symbols loaded until the piece of code has been reached while the debugger is running. I had done all the right things except for performing the action to call the method that I have the extension on.