NAV in debug mode: why code changes are not transferred?

Nosta
Member Posts: 31
Hi all,
I faced with strange behaviour of NAV when I run it in debug-mode: code changes, I've made in NAV objects are not tranferred to NAV debugger and system ignores my changes when I run my objects after compiling and saving them. I turn off and close debugger, run objects in simple run-time mode: NAV does not see any chanes I've done just few seconds ago :shock:! It concerns the changes in CAL code only. Everytime, to see how new code works, I need to restart NAV.
this problem came up last week on NAV 4.3 (build 23305), but no changes in the system environment were done during last month.
Can you recommend me how to solve this issue?
I faced with strange behaviour of NAV when I run it in debug-mode: code changes, I've made in NAV objects are not tranferred to NAV debugger and system ignores my changes when I run my objects after compiling and saving them. I turn off and close debugger, run objects in simple run-time mode: NAV does not see any chanes I've done just few seconds ago :shock:! It concerns the changes in CAL code only. Everytime, to see how new code works, I need to restart NAV.
this problem came up last week on NAV 4.3 (build 23305), but no changes in the system environment were done during last month.
Can you recommend me how to solve this issue?
0
Answers
-
Get the latest executables. The debugger in Nav is buggy.
If it solves your issue then great. If not then you are out of luck.
You can try to run develop on finsql.exe/fin.exe
The classic client development rightnow is on support mod. So nothing will be fixed until they kill it.0 -
did you set you objectcache to 0 (zero) ?Do you make it right, it works too!0
-
Perhaps you're debugging a codeunit with SingleInstance property set to yes ?Slawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030 -
Please let us know exactly what you are doing. This may happen if you launch a form from a form, for instance, design that newly opened form and then rerun the procedure without closing the original form. In that case the client may end up using the object from the "Object Cache" instead of reloading.
I think I still get this with a client that is on 3.70 whenever I change the menu forms...0 -
if you are using a single instance codeunit, the only way to get the changes is to login and out.0
-
Slawek, ara3n: yes, this happens on singleinstance codeunit. So, it's known issue and I have to login and out every time when I want debug my changes in this COD. Am I right?0
-
Yes, if u use a SingleInstance CU, the Client loads this CU in his memory and work from there with him.
So, if you make some changes in this SingleInstance CU, u must logoff (to clear the allocation) and login to work with the changes. This is not a bug.Do you make it right, it works too!0 -
I've been working for years with NAV but have never faced with this problem before
many thanks!
0 -
Please and you're welcomeDo you make it right, it works too!0
-
8><
David Singleton0
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