Skip to content

Don't show skip file action for programs #19180

Closed

Description

re #19096

  • Launch two debuggees
  • right click on one of the app nodes in the tree
  • 🐛 the menu shows the skip file entry

screen shot 2017-01-24 at 13 08 22

Activity

  1. roblourens commented on Jan 24, 2017

    @roblourens
    Member

    Isidor Nikolic (@isidorn) I don't think I can control this?

    "debug/callstack/context": [{
      "command": "extension.node-debug2.toggleSkippingFile",
      "group": "navigation"
    }]
    
  2. isidorn commented on Jan 24, 2017

    @isidorn

    roblourens on my end I could only enable this context menu contributions on the stack frame elemnts but that feels a bit hackish. Extensions should be able to contribute some other actions to program / thread, so in a perfect world we would be able to specify somehow for what elements in the context menu should they be shown.
    Having 3 different contribution points also feels a bit ugly, one for stack frame, one for thread, one for program

    Johannes Rieken (@jrieken) suggestions are welcome

  3. isidorn commented on Jan 24, 2017

    @isidorn

    roblourens I think the when clause was designed with something else in mind, like when in debug. It does not feel natural to me to add a context when 'stackFrameSelected'

  4. roblourens commented on Jan 24, 2017

    @roblourens
    Member

    Most of them are like 'thingHasFocus' or 'thingIsVisible' but what we want seems analogous to "resourceLangId == markdown" which is how you can show context menu items only on certain types of files in the explorer. Like I'm imagining "callStackItemType = stackFrame".

    That might be too specific though. Besides that, 3 different contribution points might be ok. Maybe Johannes Rieken (@jrieken) has a better idea.

  5. isidorn commented on Jan 25, 2017

    @isidorn

    roblourens we can look into adding something like that in February

  6. added
    debug
    feature-request
    on Apr 19, 2017
  7. roblourens commented on Nov 20, 2017

    @roblourens
    Member

    Is this realistic or should we close it?

  8. isidorn commented on Nov 21, 2017

    @isidorn

    Sure we can do this but I do not see the end for this in the immediate future since nobody else complained.

  9. added
    verification-needed
    on May 11, 2018
  10. locked and limited conversation to collaborators on Jun 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

debugfeature-requestrelease-notesverification-neededverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions