Skip to content

program location only shown for active session #83543

Closed

Description

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).

Activity

  1. added
    debug
    on Oct 29, 2019
  2. added
    feature-request
    on Nov 12, 2019
  3. isidorn commented on Dec 4, 2019

    @isidorn

    I agree. However not for endgame. Pushing out to next Milestone.

  4. isidorn commented on Dec 12, 2019

    @isidorn

    This is done via cd5784c

  5. added
    verification-needed
    on Dec 12, 2019
  6. locked and limited conversation to collaborators on Jan 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

debugfeature-requestverification-neededverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions