Skip to main content
Question

Cannot Debug Base Code - Source Code Different

  • December 14, 2024
  • 2 replies
  • 78 views

Forum|alt.badge.img

I am attempting to debug some base Acumatica code, but I am receiving a message that the breakpoint won’t be hit because “the current source code is different from the version built into PX.Objects.dll”,. I have seen similar posts for 23r1 versions of Acumatica, but I am on 2023R2 (Build 23.211.0017).

I have copied the PDB files from Files/Bin to my instance folder but without success. Furthermore, if I disable the option to “Require source files to exactly match the original version”, while the breakpoint is hit, I cannot step through the code and the lines do not appear to match (i.e. variables are not present in the “Locals” tab nor available for watching when they should be).

What might the issue be?

 

2 replies

Nilkanth Dipak
Varsity II
Forum|alt.badge.img+10

Hi ​@KellyMarchewa,

To enable debugging for the base Acumatica, follow below steps.

1) Add reference of PX.Objects.dll from your bin folder of your instance.(i.e.C://Program Files/Acumatica ERP/Instance Name/Bin)

2) From the Debug --> Options --> Debugging --> General, Set the check box "Enable Just my code" option to False.

3)Clean and build your code.

 

Hope it helps!

 


Forum|alt.badge.img
  • Author
  • Freshman II
  • 13 replies
  • December 17, 2024

Thanks ​@Dipak Nilkanth , but that did not resolve the issue. To be clear, I used to be able to debug the base code fine. I am not 100% sure when it stopped working (I don’t need to debug the base code that often); probably after an upgrade from an earlier version


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings