Comments (8)
Yes it is since a long time. But not only if it is the last Step
When I add a breakpoint in the Sales Order page here
And Step over, the debugger is not moving to the MoveNegSalesLine.ShowDocument().
It is moving there
from al.
In your launch.json
do you have breakOnError
or breakOnRecordWrite
set? If so, was there an error or record write where the unexpected breaks happened?
Looking at the code where it breaks, I don't see any reason why there would be an error or record write, but if you could confirm that would be great.
from al.
Hi, I have "breakOnError": "ExcludeTry" there is no error and no write
{
"name": "8.X DEV LOKAL",
"server": "http://PROD-BC23-1-dev",
"serverInstance": "BC",
"dependencyPublishingOption": "Ignore",
"type": "al",
"environmentType": "OnPrem",
"breakOnError": "ExcludeTry",
"authentication": "UserPassword",
"request": "launch"
}
There are some examples where the debugger stops:
This is where the breakpoint is:
This is after StepOver
from al.
So this is by design for now, and has been for as long as I can tell. Because the breakpoint is on the last line in the method, when you step over it the method scope no longer exists and we stop on the next frame to be executed which just happens to be the GetCaptionClass method.
From what I understand, your ask is that it behaves more like a continue (F5) instead?
@kalberes - maybe you have more input on this scenario?
from al.
Can you make sure that you don't have any entries in your breakpoint list in VSC for this position:
Old breakpoints are not correctly shown in vsc but recognized by the debugger, if they are set in a "wrong" tab. (see #7611)
from al.
I have no other breakpoints in the list.
from al.
I think it is by design now and you cannot step over modal state. This has been like this like forever, since I am not aware of anyone changing modal UI (page, report) execution context.
If you put a breakpoint on the next line (ShowDocument) it should be hit though. If not that is a bug.
from al.
Yes with F5 it steps to the next line
from al.
Related Issues (20)
- Debugger crashes at random points HOT 5
- Misleading ToolTip on RunTime in App.Json
- [AL Language Syntax Highlights Devops] Missing Keyword Highltighing for protected modifier on procedures
- how to copy values from a flow field (Amount) to a custom field (Amt). HOT 1
- Unable to access standard report date item from report extension data item HOT 3
- [BC 24] `Publish-NAVApp` hangs forever on compilation errors HOT 5
- [Copilot] AW0005 should not be shown for PromptGuide actions
- ToolTips added to a TableExtension field are not displayed if they have Locked = true (runtime 13.0) HOT 2
- Event Subscription MissingTypeSymbol issue HOT 1
- Function GetRecord working incorrectly when in factbox we have more then 15 records HOT 1
- AA0232 The FlowField XXX of "TableName" should be added to the SIFT key
- OnAfterGetRecord trigger ignores IsolationLevel specified onOpenPage trigger
- IN operator not working in OdataV4 BC SaaS
- Always an .alpackages/.snapshots folder
- Command 'AL: Go!' resulted in an error (command 'al.go' not found)
- Intellisense in Query- Objects
- Out Of Memory (OOM) Error Opening AL Project Folder
- RUNTIME of Visual Code is not compatible with Server RunTime
- ToolTipsToTableFieldCodeFixProvider.GetControlAndField crashes
- aldoc.exe: wrong procedure argument separator
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from al.