microsoft / microsoft/AL

Unable to debug install or upgrade codeunits in version 16.0.1826476

Open
#8,129 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

accepted debugger
Dominant language
PowerShell
Stars
881
Forks
285
Avg merge
3d 36m
Merged PRs (30d)
1

Description

1. Describe the bug
With the latest version, 16.0.1826476, it is no longer possible to debug an install or upgrade codeunit.
The key combinations F5 and Ctrl+F5 no longer work for debugging them.

Is this a bug, or has the debugging procedure changed?

2. To Reproduce
Press Ctrl+F5 then F5 with an attach setup.

3. Expected behavior
The client opens and it stops in the firts breakpoint of the installation/upgrade codeunit. With version 15.01433841 works fine

4. Actual behavior
Nothing happens

5. Versions:

  • AL Language: 16.0.1826476
  • Visual Studio Code: 1.105.0
  • Business Central: 26

Internal work item: AB#611554

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with an attach setup using Ctrl+F5 followed by F5, then compare the behavior between AL Language 16.0.1826476 and 15.01433841. The fix is complete when installation or upgrade codeunits launch and execution stops at the first breakpoint as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
vscode
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.