
Dear All
I am customizing a function in retail SDK Triggers project I installed the SDK and it is working fine (it builds in VS 2013 without error, and I added some code, generated a Dll and test it in a test POS). now I am trying to debug a function in that project (the project type is a class library so I can't use function in the VS 2013 ), what I have done and didn't work is to open the debug menu is VS 2013 and choose attach to process and choose the POS.exe (the exe process of the test POS installed in the same machine that has the Retail POS SDK) in that menu. I tried to generated the scenario where the debugger should enter the function, but it didn't .
what I need to know is how to debug function in the retail SDK?
Many Thanks.
I believe if you mention POS that i.e. Ax 2012 Enterprise POS and not the Retail MPOS.
If you are attaching process first you should check
- If a breakpoint is getting enables
- If not, make sure dll is loaded or plugin properly in the POS scope.
- You should run a visual studio as administrator.
Sometimes it may happen that due to the difference in the version of references your breakpoint will not get enabled. Keep checking the output window while you are attaching the process.