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
0
Answers
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.
I want to set cursor position on where i have given breakpoint.
You get my point?
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
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.?
Sandip
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...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
your last post helped me.