Setting cursor on Breakpoint only.

upasanisandip
Member Posts: 405
Hi,
I want to set cursor on Breakpoint only when i debug at runtime.
I have selected the option Tools -> Debugger -> Breakpoint on Triggers but the cursor is going through all the code.
Is there any option to set cursor @ runtime only where i given breakpoint.
Suggestions are welcome.
Thanks.
Sandip
I want to set cursor on Breakpoint only when i debug at runtime.
I have selected the option Tools -> Debugger -> Breakpoint on Triggers but the cursor is going through all the code.
Is there any option to set cursor @ runtime only where i given breakpoint.
Suggestions are welcome.
Thanks.
Sandip
0
Answers
-
You can set the cursor to the breakpoint by doing the following :
1. Set the breakpoint in the C/AL code
2. Select the Tools >> Debugger >> Active and deselect the
Tools >> Debugger >> Breakpoint on Triggers
Now, your debugger is active and after execution of the object, the cursor will stop execution till the breakpoint you have set.0 -
Hi NR ,
I want to set cursor position on where i have given breakpoint.
You get my point?0 -
NR is correct... :-) If you want to let the debugger stop just on your breakpoint, you need to disable the "Breakpoint on triggers". In this case, the debugger will stop just in case of breakpoint or error. You can set the Breakpoint in designer...0
-
Hi Kine,
I disable the "Breakpoint on triggers" option & Enable now the Active Option & Set the breakpoint in Code.
But not working as i want ?
I also don't know what is prob.?
Sandip0 -
1) It is possible, that the line with breakpoint is not executed
2) Sometime the "line with breakpoint" and "executed line of code" is not on same "position" - it means, if you set breakpoint on line right after IF THEN statement the breakpoint will be scipped etc... try to set more breakpoints on next lines in code...
3) Try to look back into the object if the breakpoints are still there. Sometime they are not saved correctly, for example if you just set them but do not close the designer...0 -
Thanks Kine.
your last post helped me.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