question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for SteppingGranularity in the UI

See original GitHub issue

Having https://github.com/microsoft/vscode/issues/90793 is fantastic (and we just shipped a version of the Julia extension that supports this feature).

So now I’m of course wondering whether we could also have built-in support for SteppingGranularity from the DAP in the UI? 😃

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:33
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
lemmycommented, Apr 5, 2022

I’m working on a debugger for a state-based formalism (TLA+). While our default is ordinary statement/expressions-level stepping, I’d like to add state-level stepping (a state can span hundreds of statements). Are there plans to add UI in VSCode s.t. users can select the stepping granularity?

By the way, my current workaround is to dynamically change the debugger’s capability to step back; when the “Step Back” and “Reverse” buttons are gone, the debugger has state-level stepping granularity.

1reaction
Martoon-00commented, Oct 20, 2022

I would find an option for switching to line stepping useful.

Also, letting the user switch to smaller granularities than statement, e.g. add expression granularity (when we visit each sub-expression step-by-step) would be nice in general, I believe. The order of expressions evaluation is not always apparent in languages and which expressions get evaluated may be helpful.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Proposal: Support Stepping Granularities · Issue #110 - GitHub
A stepping granularity allows specifying how far a specific step (Next, StepIn, StepOut, StepBack) should go. An adapter can take this as a ......
Read more >
Shaping Granularity Values for Enhanced Queuing Hardware
Due to the limits placed on shaping thresholds used in the hierarchy, there is a granularity associated with the Enhanced IQ2 (IQ2E) PIC...
Read more >
FEATURE REQUEST** UDM-Pro Content Filtering Granularity
Firewall FQDN Support: I would like to propose, if possible, that UBNT adds support for adding FQDN rules into the Firewall. This would...
Read more >
Creating Granular IAM Permissions for Non-Admin Users
This section describes these different types of permissions and provides some example configurations. Step Functions has four categories of permissions.
Read more >
Granularity | Implementing ITIL Configuration Management
This section will help you understand granularity better and ... The first option is to add extra attributes and simply make them optional....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found