AL icon indicating copy to clipboard operation
AL copied to clipboard

Debugger doesn't work - BreakOnError / breakOnRecordWrite

Open waldo1001 opened this issue 8 years ago • 6 comments

I don't get the "BreakOnRecordWrite" and "breakOnError" to work at all. it NEVER breaks on both.. . Strange, because I have been showing this hundreds of times. And now it doesn't work on all my machines (so not only on 1 environment).

It might be a setting (while setting up docker?) I'm not aware of .. if so, sorry.

AL Language Version: 2.0.52543 Business Central: W1 14.0 (25097)

my Launch.json: image

My intentional error: image

But no break, not even on record writes, not even on other PCs.

waldo1001 avatar Oct 12 '18 11:10 waldo1001

Do normal breakpoints work?

StanislawStempin avatar Oct 12 '18 12:10 StanislawStempin

Yes, they do. Same environment with normal breakpoint: image

waldo1001 avatar Oct 12 '18 12:10 waldo1001

Thanks. We'll have a look

StanislawStempin avatar Oct 12 '18 12:10 StanislawStempin

I have exactly the same problem, when will this be fixed?

lucahochreutener avatar Oct 31 '18 09:10 lucahochreutener

I have the same issue. But latest build of BC onprem, pulled today.

sbuescher avatar Nov 01 '18 12:11 sbuescher

This is a bug that appeared with the latest Visual Studio 1.28. Things have changed in the debug adapter protocol that we have not adapted too. On previous versions it should work.

kalberes avatar Nov 09 '18 18:11 kalberes