Variables not showing in Debug Variables window

GaryD
Member Posts: 66
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!
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
-
I run into that sometimes too and don't know how or when it happens. I can only assume that it's a bug in the debugger that hopefully MSFT will fix sometime in the future.Confessions of a Dynamics NAV Consultant = my blog
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book0 -
Most of the time the debugger works, but sometimes it doesn't. I've "lost" variables many times, and just as they are lost, they re-appear without warning. Most of the time though you can see all of them in the 'All' tab. Most of the times, closing the debugger helps (I know some people like to leave it open all day). I've made it a habit of actually closing the debugger every time a single pass is done, so that objects have to be reloaded each time.
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.0 -
DenSter wrote:it's still far from where it should be.
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:0 -
Well, not exactly what I wanted to hear, but I appreciate the answers!0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions