Solved

Not able to Debug base Acumatica Source code

  • 31 August 2022
  • 2 replies
  • 192 views

Userlevel 2
Badge

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?

icon

Best answer by Shawn Burt 31 August 2022, 00:53

View original

2 replies

Userlevel 5
Badge +1

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

 

Userlevel 2
Badge

Thank you Shawn! 

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved