Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

How to debug Code in retail POS SDK with visual studio 2013 (Back end is AX 2012 R3)

(0) ShareShare
ReportReport
Posted on by 5

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.

  • Suggested answer
    ram shenkar Profile Picture
    515 on at
    RE: How to debug Code in retail POS SDK with visual studio 2013 (Back end is AX 2012 R3)

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,312 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,025 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans