Support breakpoints in virtual source documents such as AL .dal files - #137
Open
Fekete Gábor (feketegabor) wants to merge 2 commits into
Open
Conversation
Author
|
@microsoft-github-policy-service agree company="EcoBit Consulting Kft." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
workingDirectoryrouting hint for virtual sources in multi-window sessions.dalbreakpoint support and add focused routing/source URI testsWhy
DebugMCP previously passed every source argument to
vscode.Uri.file(). That rewrites an AL virtual source such asal-preview://AlLang/.../Customer%20List.dalinto a localfile://URI, so the Microsoft AL extension cannot resolve the document and the breakpoint cannot bind.The new source URI helper preserves URI schemes while still treating Windows drive paths as files. The router can use
workingDirectoryto select the owning editor window; it can also reuse the active target or the sole registered window.Validation
npm run check-typesnpm run lintnpm run bundleCustomer.dalvirtual sourceal-preview://AlLang/437dbf0e84ff417a965ded2bb9650972/Page/22/Customer%20List.dal:1675OnOpenPageRecasTable Customer (18)