Skip to main content
Solved

Not able to Debug base Acumatica Source code

  • August 30, 2022
  • 2 replies
  • 448 views

Forum|alt.badge.img

I have created an extension of SOCreateShipment, where I redefined the ‘Orders’ Data View. I now want to debug the flow for loading rows into the grid of orders. I am able to define breakpoints in the Extension, and Visual Studio breaks at the requested statements. While debugging, I also opened the base source code for SOCreateShipment, at:

C:\Acumatica\MyWebApplication\App_Data\CodeRepository\PX.Objects\SO\SOCreateShipment.cs

and added needed breakpoints. When I open the website, attach to process, then run the application, it breaks at the statements defined in the Extension, but not the statements in the base code. I reviewed the steps in the Customization Guide, and Acumatica website, but I don’t see clear steps on how to debug the base code. 

Can you point me to the proper steps?

Best answer by Shawn Burt

you need to disable Just My Code in Visual Studio. it should then prompt you to link to the source folder. Once you select the source file it will then stop on the break points properly.

 

Tools → Options

 

2 replies

Shawn Burt
Jr Varsity I
Forum|alt.badge.img+1
  • Jr Varsity I
  • Answer
  • August 30, 2022

you need to disable Just My Code in Visual Studio. it should then prompt you to link to the source folder. Once you select the source file it will then stop on the break points properly.

 

Tools → Options

 


Forum|alt.badge.img
  • Author
  • Jr Varsity II
  • August 31, 2022

Thank you Shawn!