Skip to content

Improve structure of 'Debugging' chapter #450

Closed

Description

@weinand

In addition to adding some missing pieces I suggest the following more logical structure of the 'Debugging' chapter:

  • Launch Configurations
    • 'setting up' especially important since new users will come for that
  • Debug and Run
  • Debug Actions
    • stepping (new: optional step back)
    • continue
    • restart
    • stop
  • Current Location
    • Editor: arrow, current line (yellow and green)
    • Call stack: stop reason, stack frames, paging, multiple threads
  • Breakpoints
    • Editor margin
    • breakpoints view: regular, functional, conditional
    • breakpoint actions
  • Data inspection:
    • Variables view:
      • scopes
      • new: type hover
      • setting variable values
    • hovers
    • Watches
  • Debug Console
    • data structure snap shots

Isidor Nikolic (@isidorn) please correct and add more missing pieces

Activity

  1. isidorn commented on Jul 5, 2016

    @isidorn

    Andre Weinand (@weinand) I modified your comment with some of the missing pieces (threads, types of breakpoints, breakpoint actions) and added some minor comments

  2. added this to the milestone on Jul 5, 2016
  3. modified the milestones: August 2016, on Aug 6, 2016
  4. isidorn commented on Oct 11, 2016

    @isidorn

    Andre Weinand (@weinand) Greg Van Liew (@gregvanl) it would be absolutetly awesome if we did this in October, since the newly generated launch.json will point to http://code.visualstudio.com/docs/editor/debugging#_launch-configurations

    So this documentation needs to be as awesome as possible so new user easily figure out what they need to set in order to have a smoooth debugging experience

  5. added
    important
    on Oct 11, 2016
  6. isidorn commented on Oct 27, 2016

    @isidorn

    Greg Van Liew (@gregvanl) has there been some progress on this? I think this is a key point in making the initial debug experience smoother

    ping Andre Weinand (@weinand) Chris Dias (@chrisdias) Wade Anderson (@waderyan)

  7. gregvanl commented on Oct 27, 2016

    @gregvanl

    Isidor Nikolic (@isidorn) Yes, you can track the progress in the vscode-docs vnext branch https://github.com/Microsoft/vscode-docs/blob/vnext/docs/editor/debugging.md
    I've done some reordering, updated to the new leaner launch.json and added descriptions for the required attributes.
    Next is to fill out the variables substitution section and add more attribute descriptions.
    The outline above is fairly exhaustive for all the debugging features, both those that are easily discoverable through the UI (for example : current location, stop reason, stack frame) and more advanced (multi-threaded, conditional breakpoints). The tricky bit is tuning the initial sections for the first time user (the goal for this milestone) without overwhelming them.

  8. gregvanl commented on Nov 2, 2016

    @gregvanl

    Still more work to be done here around variables view and advanced debugging like multithreaded. Moving to November.

  9. gregvanl commented on Jan 10, 2017

    @gregvanl

    Covered in December doc-a-thon with debugging.md and node-debugging.md refresh. #729

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

debugimportant

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions