Solved

Debug point not hit on the acumatica maint in 23R1 Version:23.105.0016

  • 20 July 2023
  • 4 replies
  • 169 views

Debug point not hit on the acumatica maint in 23R1 Version:23.105.0016

icon

Best answer by Evgeny Afanasiev 24 July 2023, 18:22

View original

4 replies

Badge +11

There really isn’t a lot of information to go on here.

Userlevel 3
Badge

Hi @ashrivastava42,

Thank you for the question.
It is a product issue that some .PDBs not matching .DLLs that appeared in late 2022R2 and early 2023R1 versions, including 23.105.0016 that you’ve mentioned.


The first fixed version is 2023 R1 update 6 - 23.106.0050.
The fix will be also in 2023 R2 beta

Userlevel 4
Badge +1

Hello, does this mean that these versions (late 2022R2 and early 2023R1) cannot be used for Acumatica development (or at least cannot be debugged)?

I ask because we have recently had this issue when trying to step through Acumatica code in Visual Studio. We wasted many hours trying to understand what was happening and why our breakpoints were not being hit. We eventually figured out that the .PDB were the source of the problem.  

Are there any plans to update the installations for the versions with incorrect PDB files? If not, is there an easy way to identify versions which can be debugged and ones which cannot?

Thanks

Steve 

Userlevel 3
Badge

Hi @stephenward03 ,

There is similar post on community with some comments and build mentioned where this issue is reproduced:

To know for sure, I am afraid the best was is just to try.
Beside VS you also can use SymChk (comes with WDK) to check whether PDBs matching DLLs.
It should be something like:

C:\Program Files (x86)\Windows Kits\10\Debuggers\x64>symchk PathToSite\Bin\PX.dll /s PathToSite\Bin*


IMHO, this is of course an unfortunate situation, but from another hand, how often we see that ERP vendor providing pdbs and source code of the product.

This should not be a blocker, as in theory you can still debug Acumatica, used ICSharp that now comes build in VS, or generate matching PDB yourself. You’d just need to set Match Source Code option of the breaking point to Allow the source code o be different from original.
 

 

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