Hello all,
We have NAV 5.0 SP1 using SQL Server 2005 as the database. We have an occasional issue where the variables we define do not show up in the variables window during debug. This SEEMS to be limited to local variables. Right now I've got a procedure that we've created a while back that I'm modifying. Every local variable that I created in that procedure today is excluded from the variables list in the debugger. The other developers in my company also cannot see these new variables either. And yes, I've looked at the All, Locals, and Globals tabs on the variables window - they are just not there. I've also tried recompiling, exporting and re-importing as text and fob, and even deleting the object then re-importing it. Has anyone else encountered this problem and found a solution?
Thanks!
0
Comments
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
A reliable, stable, predictable, versatile debugger that always works has been my number one wish for the IDE for almost 10 years now. There is significant improvement since the 2.01 debugger, but it's still far from where it should be.
RIS Plus, LLC
Try the following in a blank form:
Declare SalesHeader as an array of size 2 of record Sales Header.
on open form write:
WITH salesHeader[1] DO BEGIN
IF FIND('-') THEN REPEAT
i += 1;
i += 1;
i += 1;
i += 1;
UNTIL NEXT = 0;
END;
Try and stop the debugger anywhere within the with .. end block.
or debug with step into....
:whistle: