Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Debugger for Business central AL not working on VS code

(0) ShareShare
ReportReport
Posted on by 305

Hi

I want to debug my AL extension code  but debugger is not working on VS Code. Please suggest if I'm missing on any settings.

Thanks in advance!

Khudeja

  • picazin Profile Picture
    20 on at
    RE: Debugger for Business central AL not working on VS code

    Hi

    Seems to be a known bug from last version:

    github.com/.../181485

    github.com/.../7388

    Try installing previous VSCode version

    update.code.visualstudio.com/.../stable

    Hope it helps

  • JJMc Profile Picture
    291 on at
    RE: Debugger for Business central AL not working on VS code

    Since the last VSCode update, it is imposible to debug in AL.

    It stops in the first breakpoint you set, and then it does not keep on debugging.

    Any idea?

  • MarkvdH Profile Picture
    17 on at
    RE: Debugger for Business central AL not working on VS code

    Have exactly the same issues. Some objects (standard symbols) behave differently. Debugging displays a No).dal file with "no content available". Tried admin mode. Reboots. All sorts of things.

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,025 Moderator on at
    RE: Debugger for Business central AL not working on VS code

    To start Visual Studio Code in elevated mode you right click on the VS Code icon, chosse more, then run as administrator.

  • Inkey Solutions Profile Picture
    2,051 on at
    RE: Debugger for Business central AL not working on VS code

    I am New in these Can you Guide me.

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,025 Moderator on at
    RE: Debugger for Business central AL not working on VS code

    Weird.

    Have you tried starting visual studio Code in elevated mode? Using run as administrator?

  • Inkey Solutions Profile Picture
    2,051 on at
    RE: Debugger for Business central AL not working on VS code

    Same Problem

    .dal opened

  • Magicrevette Profile Picture
    215 on at
    RE: Debugger for Business central AL not working on VS code

    I've also a probleme with Al language debugger since Al Language version 11 has been installed. When I set a breakpoint in a Microsoft standard object (opened in .dal with Al Explorer) or in an event subscriber in one my codeunits, the debugger doesn't stop on these breakpoint.

    When I debugg step by step, a new page opens on VSCode and says "No content available" when it should instead enters in a Microsoft standard object.

    I work on an OnPremise environment. I try to debug the codeunit 91 Purch-Post (Yes/No) and to subscribe to the event OnBeforeConfirmPost, but I can't enter in the event, neither can I rise my event publisher.

  • Inkey Solutions Profile Picture
    2,051 on at
    RE: Debugger for Business central AL not working on VS code

    Yes I also try to add breakpoint ,but  it is  not giving me any response.

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,025 Moderator on at
    RE: Debugger for Business central AL not working on VS code

    Did you try adding breakpoints to see if they are reached?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
YUN ZHU Profile Picture

YUN ZHU 628 Super User 2025 Season 1

#2
Mansi Soni Profile Picture

Mansi Soni 495

#3
Sagar Dangar, MCP Profile Picture

Sagar Dangar, MCP 395

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans