lua-debug icon indicating copy to clipboard operation
lua-debug copied to clipboard

Debugger doesn't seem to start with 2.0.10, but works with 2.0.9

Open fstenstrom opened this issue 1 year ago • 9 comments

The debugger doesn't seem to start with 2.0.10, but it works with 2.0.9.

For 2.0.10, nothing happens when starting a debug session. VS Code just shows that "something is loading" for about a second, and then nothing more. I didn't manage to find any logs.

I'm using WSL with Devcontainer and Lua 5.4. Attached zip with setup: proj.zip

fstenstrom avatar Jul 27 '24 09:07 fstenstrom

I confirm, that happens on my setup as well (VSCode 1.92.0, Ubuntu 24.04, Lua 5.4).

dev0x13 avatar Aug 05 '24 10:08 dev0x13

and i can confirm same (debian bookworm, vscode 1.91.1, lua53)

fikin avatar Aug 13 '24 13:08 fikin

and i can confirm same (arch, vscode 1.92.2, luajit)

yuanyan3060 avatar Aug 19 '24 17:08 yuanyan3060

Can confirm with VSCode:

Version: 1.93.1
Commit: 38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40
Date: 2024-09-11T17:20:05.685Z
Electron: 30.4.0
ElectronBuildId: 10073054
Chromium: 124.0.6367.243
Node.js: 20.15.1
V8: 12.4.254.20-electron.0
OS: Linux x64 5.15.0-117-generic

I'm using a Docker devcontainer if that makes any difference. Also had the same issue with VSCode 1.85.1

Downgrading to 2.0.9 solves the issue

musteresel avatar Sep 16 '24 11:09 musteresel

https://github.com/actboy168/lua-debug/compare/9e1f465..4412c81#diff-3cf49c5cb77b73d73f43a5a0fa4da72179071c9100c3044ef2a3a84bc3a5b58aR105

This snippet from the comparison between 2.0.9 and 2.0.10 looks strange to me. Commit is here https://github.com/actboy168/lua-debug/commit/2a353aa1ee09bbcf55497af99352ea9d1b420341 but doesn't give much information which bug and why?

Original code filtered events to EPOLLIN or EPOLLOUT when event EPOLLERR or EPOLLHUP comes. New code just adds those events (both; even if they're not there) -- no idea why, but this could be legit: https://stackoverflow.com/a/29206631/1116364

musteresel avatar Sep 16 '24 13:09 musteresel

2.0.9 does not work for me either.

district10 avatar Sep 28 '24 05:09 district10

@actboy168 Is this commit a6a380ec2cd9b367464bd65b1aa6a1a4f134ca90 referring to this bug here?

musteresel avatar Oct 18 '24 18:10 musteresel

I can confirm this bug (Linux Lenovo 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec 5 13:09:44 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux)

Both versions 2.0.10 and 2.0.11 do not run.

Successful run 2.0.9:

Lenovo%  cd /home/serg/Projects/lua/llstest ; /home/serg/.vscode/extensions/actboy168.lua-debug-2.0.9-
linux-x64/runtime/linux-x64/lua54/lua -e dofile\"/home/serg/.vscode/extensi
ons/actboy168.lua-debug-2.0.9-linux-x64/script/launch.lua\"\;DBG\"11154\" /home/serg/Projects/lua/llstest/dbgtst.lua

Failed run 2.0.11:

Crash log (Developer Tools > Console )
log.ts:435  WARN Via 'product.json#extensionEnabledApiProposals' extension 'ms-vscode.vscode-selfhost-test-provider' wants API proposal 'attributableCoverage' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
log.ts:435  WARN Via 'product.json#extensionEnabledApiProposals' extension 'ms-python.python' wants API proposal 'contribIssueReporter' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
log.ts:435  WARN Via 'product.json#extensionEnabledApiProposals' extension 'ms-python.debugpy' wants API proposal 'contribIssueReporter' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
log.ts:425  INFO Started local extension host with pid 13194.
log.ts:445   ERR Extension 'ms-vscode.cpptools' wants API proposal 'lmTools' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
log.ts:425  INFO Settings Sync: Account status changed from uninitialized to unavailable
log.ts:425  INFO [perf] Render performance baseline is 58ms
console.ts:137 [Extension Host] [vscode-icons] v12.10.0 activated!
[Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
[Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
[Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
[Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
[Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
[Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
[Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
[Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
[Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
[Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
[Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
[Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
[Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
[Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
[Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
[Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
event.ts:42 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
onWillAddFirstListener @ event.ts:42
q @ event.ts:1149
(anonymous) @ event.ts:136
onWillAddFirstListener @ event.ts:211
q @ event.ts:1149
mLe @ listWidget.ts:692
eFi @ abstractTree.ts:2329
E @ abstractTree.ts:2475
bl @ listWidget.ts:1525
tFi @ abstractTree.ts:2471
fV @ abstractTree.ts:2647
mv @ objectTree.ts:51
B @ asyncDataTree.ts:657
af @ asyncDataTree.ts:611
lf @ listService.ts:1016
o @ instantiationService.ts:162
createInstance @ instantiationService.ts:128
W @ variablesView.ts:126
render @ paneview.ts:285
render @ viewPane.ts:441
tb @ viewPaneContainer.ts:796
create @ viewPaneContainer.ts:538
create @ debugViewlet.ts:84
create @ panecomposite.ts:48
Fb @ compositePart.ts:236
Fb @ paneCompositePart.ts:237
Db @ compositePart.ts:159
Cb @ compositePart.ts:123
Cc @ paneCompositePart.ts:516
openPaneComposite @ paneCompositePart.ts:490
run @ paneCompositeBar.ts:841
u @ actions.ts:194
run @ actions.ts:185
onClick @ actionViewItems.ts:173
(anonymous) @ actionViewItems.ts:153
event.ts:42 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
onWillAddFirstListener @ event.ts:42
q @ event.ts:1149
(anonymous) @ event.ts:136
onWillAddFirstListener @ event.ts:211
q @ event.ts:1149
mLe @ listWidget.ts:692
eFi @ abstractTree.ts:2329
E @ abstractTree.ts:2475
bl @ listWidget.ts:1525
tFi @ abstractTree.ts:2471
fV @ abstractTree.ts:2647
mv @ objectTree.ts:51
B @ asyncDataTree.ts:657
af @ asyncDataTree.ts:611
lf @ listService.ts:1016
o @ instantiationService.ts:162
createInstance @ instantiationService.ts:128
W @ watchExpressionsView.ts:92
render @ paneview.ts:285
render @ viewPane.ts:441
tb @ viewPaneContainer.ts:796
create @ viewPaneContainer.ts:538
create @ debugViewlet.ts:84
create @ panecomposite.ts:48
Fb @ compositePart.ts:236
Fb @ paneCompositePart.ts:237
Db @ compositePart.ts:159
Cb @ compositePart.ts:123
Cc @ paneCompositePart.ts:516
openPaneComposite @ paneCompositePart.ts:490
run @ paneCompositeBar.ts:841
u @ actions.ts:194
run @ actions.ts:185
onClick @ actionViewItems.ts:173
(anonymous) @ actionViewItems.ts:153
event.ts:42 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
onWillAddFirstListener @ event.ts:42
q @ event.ts:1149
(anonymous) @ event.ts:136
onWillAddFirstListener @ event.ts:211
q @ event.ts:1149
mLe @ listWidget.ts:692
eFi @ abstractTree.ts:2329
E @ abstractTree.ts:2475
bl @ listWidget.ts:1525
tFi @ abstractTree.ts:2471
fV @ abstractTree.ts:2647
mv @ objectTree.ts:51
dEt @ objectTree.ts:296
B @ asyncDataTree.ts:1506
af @ asyncDataTree.ts:611
SFi @ asyncDataTree.ts:1486
A$ @ listService.ts:1060
o @ instantiationService.ts:162
createInstance @ instantiationService.ts:128
W @ callStackView.ts:234
render @ paneview.ts:285
render @ viewPane.ts:441
tb @ viewPaneContainer.ts:796
create @ viewPaneContainer.ts:538
create @ debugViewlet.ts:84
create @ panecomposite.ts:48
Fb @ compositePart.ts:236
Fb @ paneCompositePart.ts:237
Db @ compositePart.ts:159
Cb @ compositePart.ts:123
Cc @ paneCompositePart.ts:516
openPaneComposite @ paneCompositePart.ts:490
run @ paneCompositeBar.ts:841
u @ actions.ts:194
run @ actions.ts:185
onClick @ actionViewItems.ts:173
(anonymous) @ actionViewItems.ts:153
event.ts:42 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
onWillAddFirstListener @ event.ts:42
q @ event.ts:1149
(anonymous) @ event.ts:136
onWillAddFirstListener @ event.ts:211
q @ event.ts:1149
mLe @ listWidget.ts:692
E @ listWidget.ts:1545
bl @ listWidget.ts:1525
Wg @ listService.ts:280
o @ instantiationService.ts:162
createInstance @ instantiationService.ts:128
W @ breakpointsView.ts:142
render @ paneview.ts:285
render @ viewPane.ts:441
tb @ viewPaneContainer.ts:796
create @ viewPaneContainer.ts:538
create @ debugViewlet.ts:84
create @ panecomposite.ts:48
Fb @ compositePart.ts:236
Fb @ paneCompositePart.ts:237
Db @ compositePart.ts:159
Cb @ compositePart.ts:123
Cc @ paneCompositePart.ts:516
openPaneComposite @ paneCompositePart.ts:490
run @ paneCompositeBar.ts:841
u @ actions.ts:194
run @ actions.ts:185
onClick @ actionViewItems.ts:173
(anonymous) @ actionViewItems.ts:153
dom.ts:144 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
K0i @ dom.ts:144
G @ dom.ts:165
Q @ selectBoxCustom.ts:241
n7 @ selectBoxCustom.ts:143
vM @ selectBox.ts:92
VGe @ debugActionViewItems.ts:60
o @ instantiationService.ts:162
createInstance @ instantiationService.ts:128
getActionViewItem @ debugViewlet.ts:100
getActionViewItem @ panecomposite.ts:145
Qb @ compositePart.ts:466
actionViewItemProvider @ compositePart.ts:408
actionViewItemProvider @ toolbar.ts:113
(anonymous) @ actionbar.ts:363
push @ actionbar.ts:354
(anonymous) @ toolbar.ts:209
setActions @ toolbar.ts:208
setActions @ toolbar.ts:187
(anonymous) @ compositePart.ts:352
Gb @ compositePart.ts:313
Gb @ paneCompositePart.ts:482
(anonymous) @ compositePart.ts:202
B @ event.ts:1243
fire @ event.ts:1274
R @ composite.ts:222
(anonymous) @ viewsService.ts:649
(anonymous) @ event.ts:187
B @ event.ts:1243
C @ event.ts:1254
fire @ event.ts:1278
addPanes @ viewPaneContainer.ts:680
addPanes @ debugViewlet.ts:139
tb @ viewPaneContainer.ts:810
create @ viewPaneContainer.ts:538
create @ debugViewlet.ts:84
create @ panecomposite.ts:48
Fb @ compositePart.ts:236
Fb @ paneCompositePart.ts:237
Db @ compositePart.ts:159
Cb @ compositePart.ts:123
Cc @ paneCompositePart.ts:516
openPaneComposite @ paneCompositePart.ts:490
run @ paneCompositeBar.ts:841
u @ actions.ts:194
run @ actions.ts:185
onClick @ actionViewItems.ts:173
(anonymous) @ actionViewItems.ts:153
dom.ts:144 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
K0i @ dom.ts:144
G @ dom.ts:165
Q @ selectBoxCustom.ts:241
n7 @ selectBoxCustom.ts:143
vM @ selectBox.ts:92
VGe @ debugActionViewItems.ts:60
o @ instantiationService.ts:162
createInstance @ instantiationService.ts:128
getActionViewItem @ debugViewlet.ts:100
getActionViewItem @ panecomposite.ts:145
Qb @ compositePart.ts:466
actionViewItemProvider @ compositePart.ts:408
actionViewItemProvider @ toolbar.ts:113
(anonymous) @ actionbar.ts:363
push @ actionbar.ts:354
(anonymous) @ toolbar.ts:209
setActions @ toolbar.ts:208
setActions @ toolbar.ts:187
(anonymous) @ compositePart.ts:352
Fb @ compositePart.ts:270
Fb @ paneCompositePart.ts:237
Db @ compositePart.ts:159
Cb @ compositePart.ts:123
Cc @ paneCompositePart.ts:516
openPaneComposite @ paneCompositePart.ts:490
run @ paneCompositeBar.ts:841
u @ actions.ts:194
run @ actions.ts:185
onClick @ actionViewItems.ts:173
(anonymous) @ actionViewItems.ts:153
dom.ts:144 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
K0i @ dom.ts:144
G @ dom.ts:165
Q @ selectBoxCustom.ts:241
n7 @ selectBoxCustom.ts:143
vM @ selectBox.ts:92
VGe @ debugActionViewItems.ts:60
o @ instantiationService.ts:162
createInstance @ instantiationService.ts:128
getActionViewItem @ debugViewlet.ts:100
getActionViewItem @ panecomposite.ts:145
Qb @ compositePart.ts:466
actionViewItemProvider @ compositePart.ts:408
actionViewItemProvider @ toolbar.ts:113
(anonymous) @ actionbar.ts:363
push @ actionbar.ts:354
(anonymous) @ toolbar.ts:209
setActions @ toolbar.ts:208
setActions @ toolbar.ts:187
(anonymous) @ compositePart.ts:352
Gb @ compositePart.ts:313
Gb @ paneCompositePart.ts:482
(anonymous) @ compositePart.ts:202
B @ event.ts:1243
fire @ event.ts:1274
R @ composite.ts:222
(anonymous) @ viewsService.ts:649
(anonymous) @ event.ts:187
B @ event.ts:1243
C @ event.ts:1254
fire @ event.ts:1278
mb @ viewPaneContainer.ts:699
(anonymous) @ viewPaneContainer.ts:545
dom.ts:144 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
K0i @ dom.ts:144
G @ dom.ts:165
Q @ selectBoxCustom.ts:241
n7 @ selectBoxCustom.ts:143
vM @ selectBox.ts:92
VGe @ debugActionViewItems.ts:60
o @ instantiationService.ts:162
createInstance @ instantiationService.ts:128
getActionViewItem @ debugViewlet.ts:100
getActionViewItem @ panecomposite.ts:145
Qb @ compositePart.ts:466
actionViewItemProvider @ compositePart.ts:408
actionViewItemProvider @ toolbar.ts:113
(anonymous) @ actionbar.ts:363
push @ actionbar.ts:354
(anonymous) @ toolbar.ts:209
setActions @ toolbar.ts:208
setActions @ toolbar.ts:187
(anonymous) @ compositePart.ts:352
Gb @ compositePart.ts:313
Gb @ paneCompositePart.ts:482
(anonymous) @ compositePart.ts:202
B @ event.ts:1243
fire @ event.ts:1274
R @ composite.ts:222
(anonymous) @ panecomposite.ts:47
B @ event.ts:1243
C @ event.ts:1254
fire @ event.ts:1278
mb @ viewPaneContainer.ts:699
(anonymous) @ viewPaneContainer.ts:545
dom.ts:144 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
K0i @ dom.ts:144
G @ dom.ts:165
Q @ selectBoxCustom.ts:241
n7 @ selectBoxCustom.ts:143
vM @ selectBox.ts:92
VGe @ debugActionViewItems.ts:60
o @ instantiationService.ts:162
createInstance @ instantiationService.ts:128
getActionViewItem @ debugViewlet.ts:100
getActionViewItem @ panecomposite.ts:145
Qb @ compositePart.ts:466
actionViewItemProvider @ compositePart.ts:408
actionViewItemProvider @ toolbar.ts:113
(anonymous) @ actionbar.ts:363
push @ actionbar.ts:354
(anonymous) @ toolbar.ts:209
setActions @ toolbar.ts:208
setActions @ toolbar.ts:187
(anonymous) @ compositePart.ts:352
Gb @ compositePart.ts:313
Gb @ paneCompositePart.ts:482
(anonymous) @ compositePart.ts:202
B @ event.ts:1243
fire @ event.ts:1274
R @ composite.ts:222
(anonymous) @ viewsService.ts:649
(anonymous) @ event.ts:187
B @ event.ts:1243
C @ event.ts:1254
fire @ event.ts:1278
mb @ viewPaneContainer.ts:699
(anonymous) @ debugViewlet.ts:71
B @ event.ts:1243
C @ event.ts:1254
fire @ event.ts:1278
resume @ event.ts:1423
bufferChangeEvents @ contextKeyService.ts:299
hb @ debugService.ts:308
eb @ debugService.ts:280
startDebugging @ debugService.ts:360
dom.ts:144 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
K0i @ dom.ts:144
G @ dom.ts:165
Q @ selectBoxCustom.ts:241
n7 @ selectBoxCustom.ts:143
vM @ selectBox.ts:92
VGe @ debugActionViewItems.ts:60
o @ instantiationService.ts:162
createInstance @ instantiationService.ts:128
getActionViewItem @ debugViewlet.ts:100
getActionViewItem @ panecomposite.ts:145
Qb @ compositePart.ts:466
actionViewItemProvider @ compositePart.ts:408
actionViewItemProvider @ toolbar.ts:113
(anonymous) @ actionbar.ts:363
push @ actionbar.ts:354
(anonymous) @ toolbar.ts:209
setActions @ toolbar.ts:208
setActions @ toolbar.ts:187
(anonymous) @ compositePart.ts:352
Gb @ compositePart.ts:313
Gb @ paneCompositePart.ts:482
(anonymous) @ compositePart.ts:202
B @ event.ts:1243
fire @ event.ts:1274
R @ composite.ts:222
(anonymous) @ panecomposite.ts:47
B @ event.ts:1243
C @ event.ts:1254
fire @ event.ts:1278
mb @ viewPaneContainer.ts:699
(anonymous) @ debugViewlet.ts:71
B @ event.ts:1243
C @ event.ts:1254
fire @ event.ts:1278
resume @ event.ts:1423
bufferChangeEvents @ contextKeyService.ts:299
hb @ debugService.ts:308
eb @ debugService.ts:280
startDebugging @ debugService.ts:360
dom.ts:144 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
K0i @ dom.ts:144
G @ dom.ts:165
Q @ selectBoxCustom.ts:241
n7 @ selectBoxCustom.ts:143
vM @ selectBox.ts:92
VGe @ debugActionViewItems.ts:60
o @ instantiationService.ts:162
createInstance @ instantiationService.ts:128
getActionViewItem @ debugViewlet.ts:100
getActionViewItem @ panecomposite.ts:145
Qb @ compositePart.ts:466
actionViewItemProvider @ compositePart.ts:408
actionViewItemProvider @ toolbar.ts:113
(anonymous) @ actionbar.ts:363
push @ actionbar.ts:354
(anonymous) @ toolbar.ts:209
setActions @ toolbar.ts:208
setActions @ toolbar.ts:187
(anonymous) @ compositePart.ts:352
Gb @ compositePart.ts:313
Gb @ paneCompositePart.ts:482
(anonymous) @ compositePart.ts:202
B @ event.ts:1243
fire @ event.ts:1274
R @ composite.ts:222
(anonymous) @ viewsService.ts:649
(anonymous) @ event.ts:187
B @ event.ts:1243
C @ event.ts:1254
fire @ event.ts:1278
mb @ viewPaneContainer.ts:699
(anonymous) @ viewPaneContainer.ts:416
B @ event.ts:1243
fire @ event.ts:1274
(anonymous) @ actions.ts:84
B @ event.ts:1243
fire @ event.ts:1274
n @ actions.ts:48
(anonymous) @ actions.ts:38
B @ event.ts:1243
fire @ event.ts:1274
resume @ event.ts:1423
(anonymous) @ event.ts:1462
dom.ts:144 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
K0i @ dom.ts:144
G @ dom.ts:165
Q @ selectBoxCustom.ts:241
n7 @ selectBoxCustom.ts:143
vM @ selectBox.ts:92
VGe @ debugActionViewItems.ts:60
o @ instantiationService.ts:162
createInstance @ instantiationService.ts:128
getActionViewItem @ debugViewlet.ts:100
getActionViewItem @ panecomposite.ts:145
Qb @ compositePart.ts:466
actionViewItemProvider @ compositePart.ts:408
actionViewItemProvider @ toolbar.ts:113
(anonymous) @ actionbar.ts:363
push @ actionbar.ts:354
(anonymous) @ toolbar.ts:209
setActions @ toolbar.ts:208
setActions @ toolbar.ts:187
(anonymous) @ compositePart.ts:352
Gb @ compositePart.ts:313
Gb @ paneCompositePart.ts:482
(anonymous) @ compositePart.ts:202
B @ event.ts:1243
fire @ event.ts:1274
R @ composite.ts:222
(anonymous) @ panecomposite.ts:47
B @ event.ts:1243
C @ event.ts:1254
fire @ event.ts:1278
mb @ viewPaneContainer.ts:699
(anonymous) @ viewPaneContainer.ts:416
B @ event.ts:1243
fire @ event.ts:1274
(anonymous) @ actions.ts:84
B @ event.ts:1243
fire @ event.ts:1274
n @ actions.ts:48
(anonymous) @ actions.ts:38
B @ event.ts:1243
fire @ event.ts:1274
resume @ event.ts:1423
(anonymous) @ event.ts:1462
dom.ts:144 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
K0i @ dom.ts:144
G @ dom.ts:165
Q @ selectBoxCustom.ts:241
n7 @ selectBoxCustom.ts:143
vM @ selectBox.ts:92
VGe @ debugActionViewItems.ts:60
o @ instantiationService.ts:162
createInstance @ instantiationService.ts:128
getActionViewItem @ debugViewlet.ts:100
getActionViewItem @ panecomposite.ts:145
Qb @ compositePart.ts:466
actionViewItemProvider @ compositePart.ts:408
actionViewItemProvider @ toolbar.ts:113
(anonymous) @ actionbar.ts:363
push @ actionbar.ts:354
(anonymous) @ toolbar.ts:209
setActions @ toolbar.ts:208
setActions @ toolbar.ts:187
(anonymous) @ compositePart.ts:352
Gb @ compositePart.ts:313
Gb @ paneCompositePart.ts:482
(anonymous) @ compositePart.ts:202
B @ event.ts:1243
fire @ event.ts:1274
R @ composite.ts:222
(anonymous) @ viewsService.ts:649
(anonymous) @ event.ts:187
B @ event.ts:1243
C @ event.ts:1254
fire @ event.ts:1278
mb @ viewPaneContainer.ts:699
(anonymous) @ debugViewlet.ts:71
B @ event.ts:1243
C @ event.ts:1254
fire @ event.ts:1278
resume @ event.ts:1423
bufferChangeEvents @ contextKeyService.ts:299
hb @ debugService.ts:308
fb @ debugService.ts:288
startDebugging @ debugService.ts:441
dom.ts:144 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
K0i @ dom.ts:144
G @ dom.ts:165
Q @ selectBoxCustom.ts:241
n7 @ selectBoxCustom.ts:143
vM @ selectBox.ts:92
VGe @ debugActionViewItems.ts:60
o @ instantiationService.ts:162
createInstance @ instantiationService.ts:128
getActionViewItem @ debugViewlet.ts:100
getActionViewItem @ panecomposite.ts:145
Qb @ compositePart.ts:466
actionViewItemProvider @ compositePart.ts:408
actionViewItemProvider @ toolbar.ts:113
(anonymous) @ actionbar.ts:363
push @ actionbar.ts:354
(anonymous) @ toolbar.ts:209
setActions @ toolbar.ts:208
setActions @ toolbar.ts:187
(anonymous) @ compositePart.ts:352
Gb @ compositePart.ts:313
Gb @ paneCompositePart.ts:482
(anonymous) @ compositePart.ts:202
B @ event.ts:1243
fire @ event.ts:1274
R @ composite.ts:222
(anonymous) @ panecomposite.ts:47
B @ event.ts:1243
C @ event.ts:1254
fire @ event.ts:1278
mb @ viewPaneContainer.ts:699
(anonymous) @ debugViewlet.ts:71
B @ event.ts:1243
C @ event.ts:1254
fire @ event.ts:1278
resume @ event.ts:1423
bufferChangeEvents @ contextKeyService.ts:299
hb @ debugService.ts:308
fb @ debugService.ts:288
startDebugging @ debugService.ts:441
dom.ts:144 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
K0i @ dom.ts:144
G @ dom.ts:165
Q @ selectBoxCustom.ts:241
n7 @ selectBoxCustom.ts:143
vM @ selectBox.ts:92
VGe @ debugActionViewItems.ts:60
o @ instantiationService.ts:162
createInstance @ instantiationService.ts:128
getActionViewItem @ debugViewlet.ts:100
getActionViewItem @ panecomposite.ts:145
Qb @ compositePart.ts:466
actionViewItemProvider @ compositePart.ts:408
actionViewItemProvider @ toolbar.ts:113
(anonymous) @ actionbar.ts:363
push @ actionbar.ts:354
(anonymous) @ toolbar.ts:209
setActions @ toolbar.ts:208
setActions @ toolbar.ts:187
(anonymous) @ compositePart.ts:352
Gb @ compositePart.ts:313
Gb @ paneCompositePart.ts:482
(anonymous) @ compositePart.ts:202
B @ event.ts:1243
fire @ event.ts:1274
R @ composite.ts:222
(anonymous) @ viewsService.ts:649
(anonymous) @ event.ts:187
B @ event.ts:1243
C @ event.ts:1254
fire @ event.ts:1278
mb @ viewPaneContainer.ts:699
(anonymous) @ viewPaneContainer.ts:416
B @ event.ts:1243
fire @ event.ts:1274
(anonymous) @ actions.ts:84
B @ event.ts:1243
fire @ event.ts:1274
n @ actions.ts:48
(anonymous) @ actions.ts:38
B @ event.ts:1243
fire @ event.ts:1274
resume @ event.ts:1423
(anonymous) @ event.ts:1462
dom.ts:144 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
K0i @ dom.ts:144
G @ dom.ts:165
Q @ selectBoxCustom.ts:241
n7 @ selectBoxCustom.ts:143
vM @ selectBox.ts:92
VGe @ debugActionViewItems.ts:60
o @ instantiationService.ts:162
createInstance @ instantiationService.ts:128
getActionViewItem @ debugViewlet.ts:100
getActionViewItem @ panecomposite.ts:145
Qb @ compositePart.ts:466
actionViewItemProvider @ compositePart.ts:408
actionViewItemProvider @ toolbar.ts:113
(anonymous) @ actionbar.ts:363
push @ actionbar.ts:354
(anonymous) @ toolbar.ts:209
setActions @ toolbar.ts:208
setActions @ toolbar.ts:187
(anonymous) @ compositePart.ts:352
Gb @ compositePart.ts:313
Gb @ paneCompositePart.ts:482
(anonymous) @ compositePart.ts:202
B @ event.ts:1243
fire @ event.ts:1274
R @ composite.ts:222
(anonymous) @ panecomposite.ts:47
B @ event.ts:1243
C @ event.ts:1254
fire @ event.ts:1278
mb @ viewPaneContainer.ts:699
(anonymous) @ viewPaneContainer.ts:416
B @ event.ts:1243
fire @ event.ts:1274
(anonymous) @ actions.ts:84
B @ event.ts:1243
fire @ event.ts:1274
n @ actions.ts:48
(anonymous) @ actions.ts:38
B @ event.ts:1243
fire @ event.ts:1274
resume @ event.ts:1423
(anonymous) @ event.ts:1462

serg3295 avatar Dec 28 '24 07:12 serg3295

I've built version 2.0.11 from the sources, and it started. The errors with violations have not disappeared from the log file, but they do not affect the ability to work.

Lenovo%  cd /home/serg/Projects/lua/llstest ; /home/serg/.vscode/extensions/actboy168.lua-debug-2.0.11-linux-x64/runtime/linux-x64/lua54/lua -e dofile\"/home/serg/.vscode
/extensions/actboy168.lua-debug-2.0.11-linux-x64/script/launch.lua\"\;DBG\"28075\" /home/serg/Projects/lua/llstest/dbgtst.lua 

OS: Linux Mint 22 x86_64 Kernel: 6.8.0-51-generic Shell: zsh 5.9 cpp (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 GNU C Library (Ubuntu GLIBC 2.39-0ubuntu8.3) stable release version 2.39. libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x000076395c600000)

EDIT. In addition. During the build, I had to install binutils-dev and libunwind-dev as they were not installed by default.

serg3295 avatar Dec 28 '24 08:12 serg3295

This issue seems to persist with 2.0.12 (tested on Ubuntu 24). @serg3295 solution worked for me. I checked out the code at commit 9ae36a2 (version 2.0.11) . In addition, I also had to apply this commit manually: https://github.com/actboy168/lua-debug/pull/311/files

Silverlan avatar Jun 11 '25 12:06 Silverlan