Skip to content

program location only shown for active session #83543

@weinand

Description

@weinand

Testing #83065:

  • create two simple node.js programs that just loop, e.g.:
    let i = 0;
    setInterval(_ => {
      console.log("hello " + i++);
    }, 500);
  • create two launch configs based on the two programs
  • in both programs set a breakpoint on the line with "console.log"
  • start two debug session
  • open the source code of the two programs in two editor tabs

Observe: both programs are paused but only one editor shows the program location with a yellow line (the program of the active debug session). When switching to the editor tab, no yellow line is shown in that editor because the editor contains the source of the non-active debug session.

This is unexpected and confusing.
I suggest that we show all program locations (but with different intensities).

Metadata

Metadata

Assignees

Labels

debugDebug viewlet, configurations, breakpoints, adapter issuesfeature-requestRequest for new features or functionalityverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions