Set a breakpoint without modifying object?

kaelaa
Member Posts: 28
Hello,
Is there a way to set a BreakPoint in an object without modifying the object?
I thought that Navision sets the Breakpoints information in a XML file and not in the objects?
Everytime I set a breakpoint on an object to check what the system is doing, I have to
compile the object and the the object size and modification date and time changes in the Object Designer.
I don't want to do that because my objects will be different when I compare the objects in my DEV and my PROD environment.
I am sure that sometimes, I was able to set a breakpoint without the system asking me to compile the object.
I know that I can export the object before setting a breakpoint and then import back when I am done debugging but I was hoping to have a simpler solution
Or Maybe I can create a form based on the BreakPoint table but then it is difficult to know on which line to set the breakpoint...
Thank you very much!
Is there a way to set a BreakPoint in an object without modifying the object?
I thought that Navision sets the Breakpoints information in a XML file and not in the objects?
Everytime I set a breakpoint on an object to check what the system is doing, I have to
compile the object and the the object size and modification date and time changes in the Object Designer.
I don't want to do that because my objects will be different when I compare the objects in my DEV and my PROD environment.
I am sure that sometimes, I was able to set a breakpoint without the system asking me to compile the object.
I know that I can export the object before setting a breakpoint and then import back when I am done debugging but I was hoping to have a simpler solution

Or Maybe I can create a form based on the BreakPoint table but then it is difficult to know on which line to set the breakpoint...
Thank you very much!
0
Comments
-
Sometimes NAV thinks you have changed something, even if you haven't.
Just open the object, DON'T MAKE ANY CHANGES, and set your breakpoint, then close it.
If you have done everything ok, it will close withotu saving, but your breakpoint will be set anyway.0 -
Just to make sure it has put a breakpoint, after closing the object, reopen it and see that the breakpoint is there.
It doesn't always stick.0 -
Thanks for your answers,
I assure you I am not modifying anything but Navision still thinks that I modified it !
I open the form, I go to a menu button, I choose one of the options and I press F9, then I press F9 for setting the breakpoint. That's all!
I know that sometimes it works, but in some cases it doesn't.
I tried in a table, I go to one of the fields, I press F9 and the I press F9 again in the code to set the breakpoint and it orks Navision sets the breakpoint without modifying the object but it doesn not work in my form example!!
Thank you0 -
Try the following:
Edit Your Object. Set Your BreakPoints.
Go to object designer.
Create a new form for virtual table Breakpoint.
Run your new form with CTRL-R.
Copy the records referring to your object.
Go back to your designed object.
Close without saving (if prompted to save).
Go back to your Breakpoint Form.
If your breakpoints are missing then Paste them from your clipboard.
Edit your object again to see if the breakpoints are there...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