Skip to content

Function breakpoint icon disappears #44513

@weinand

Description

@weinand

testing #43836:

Use this code:

let i = 0;

func = function() {
	console.log("hello world: " + i++);
}

setInterval(x => {
	func();
}, 1000);

and this launch.json:

		{
			"type": "node",
			"request": "launch",
			"name": "Launch Program",
			"program": "${workspaceFolder}/hello.js",
			"runtimeVersion": "7.10.1"
		}
  • add a function breakpoint for "func"
  • add a function breakpoint for "setInterval"
  • F5

Observe:
"setInterval" is hit and "func" loses its red triangle.
I would expect that "func" gets an unverified icon.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions