You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesverifiedVerification succeeded
Issue :
In debugging, when setting breakpoints at different lines,
sometimes step over( F10) STOPS at a particular line
and continues to complete the remaining program to end without stepping over.
while when setting breakpoint at a different line, works normally
Steps to Reproduce:
created a simple project with contents ( used pnpm init )
| - src/main.js
| - package.json
used following code in ./src//main.js
( you can use the breakpoints ( one at a time ) at the places mentioned in the comments. )
function firstfunc(arg){
return arg * arg
}
function secondfunc(arg) {
return arg * arg * arg
}
const printMessage = (message)=>{
console.log(message)
}
var a = 5; // breakpoint here stops at line 15 and skips to complete full program
// const a = firstfunc(2);
a = secondfunc(2); // breakpoint here stops here itself and skips to complete full program
// const a = secondfunc(2);
const c = 9; // breakpoint here works properly and steps through all lines below
var b = secondfunc(c); // breakpoint below work fine
b = secondfunc(a);
printMessage(b);
console.log('Finished awesome program');
goto 'Run and Debug' section, select 'create a launch.json file'
used nodejs environment for debugging
connor4312
added
bug
Issue identified by VS Code Team member as probable bug
debug
Debug viewlet, configurations, breakpoints, adapter issues
labels
Oct 2, 2024
connor4312
added a commit
to microsoft/vscode-js-debug
that referenced
this issue
Oct 3, 2024
The issue still exist in the latest version. I'm just reporting because it says issue closed.
I installed version 1.94.2,
but I still have the issue of the code not stepping over all subsequent lines for some breakpoints
( checked with same breakpoints as in the sample code earlier submitted )
# for freeto subscribe to this conversation on GitHub.
Already have an account?
#.
Labels
bugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesverifiedVerification succeeded
Does this issue occur when all extensions are disabled?: Yes !
vscode Version: 1.93.1
Commit: 38c31bc
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-122-generic
installed nodejs version : 20.17.0
Issue :
In debugging, when setting breakpoints at different lines,
sometimes step over( F10) STOPS at a particular line
and continues to complete the remaining program to end without stepping over.
while when setting breakpoint at a different line, works normally
Steps to Reproduce:
created a simple project with contents ( used pnpm init )
| - src/main.js
| - package.json
used following code in ./src//main.js
( you can use the breakpoints ( one at a time ) at the places mentioned in the comments. )
used nodejs environment for debugging
in .vscode/launch.json
( removed skipFiles )
The text was updated successfully, but these errors were encountered: