-
Notifications
You must be signed in to change notification settings - Fork 37.4k
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesDebug viewlet, configurations, breakpoints, adapter issuesverifiedVerification succeededVerification succeeded
Milestone
Description
Testing #15359
See the following snippet
router.get('/', function (req, res, next) {
let object;
{
let object = '5';
object = 7;
}
object = someFunction();
res.render('index', { title: 'Express' });
});
function someFunction() {
return [1, 2, 3];
}
While debugging inside the block where object is defined again. Hovering on it is not giving correct value. After coming out of the block, all object hovers are showing the value returned by someFunction(). See the video
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesDebug viewlet, configurations, breakpoints, adapter issuesverifiedVerification succeededVerification succeeded
