Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension causes high cpu load: Debugger affected #24

Closed
NKarolak opened this issue Mar 10, 2021 · 3 comments
Closed

Extension causes high cpu load: Debugger affected #24

NKarolak opened this issue Mar 10, 2021 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@NKarolak
Copy link

Hi Márton,

VS Code told me to notify you about
image
after I reloaded VS Code. During that, VS Code was generally hardly responding, and I am questioning that ALStudio was the cause, but also only suffering from it.

  • Issue Type: Performance
  • Extension Name: al-studio
  • Extension Version: 0.9.880
  • OS Version: Windows_NT x64 10.0.19042
  • VSCode version: 1.54.1

My CPU profile:
dynasist.al-studio-unresponsive.cpuprofile - Copy.txt

I could not reproduce it since.
But I thought to post it anyway, just in case the CPU profile might contain something useful for you.

@NKarolak
Copy link
Author

Oh, it happened again after I debugged
image

@NKarolak
Copy link
Author

NKarolak commented Mar 10, 2021

Okay, this is an AL Studio issue, unfortunately:
Only when AL Studio is enabled, certain code stops the debugger from proceeding, as initially reported in the AL repo:
microsoft/AL#6520

The affected code is
image

Please let me know how to proceed.

@NKarolak NKarolak changed the title Extension causes high cpu load Extension causes high cpu load: Debugger affected Mar 10, 2021
@martonsagi martonsagi self-assigned this Mar 10, 2021
@martonsagi martonsagi added the bug Something isn't working label Mar 10, 2021
@martonsagi
Copy link
Contributor

Hi Natalie,

Thanks for the help in the debugging, I was able to pinpoint the issue and the hotfix is on its way to the Marketplace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants