Improve suggestion completions for debug breakpoints
See original GitHub issueIs your feature request related to a problem? Please describe. At the moment suggestion completions for debug breakpoint expressions are quite limited. As far as I can tell those only work for the first word (on a module level). A common simplified use case, at least for me, is the following example
class Test:
var: int = 42
def main():
# set breakpoint here
...
If I want to debug main
for a specific value, I would set the breakpoint condition to
Test.var == 42
Describe the solution you’d like It would be nice if pyright could support at least MemberAccess completions, since those are the most common.
Additional context
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
Discover breakpoint improvements - WWDC21 - Videos
Breakpoints can help you debug issues by allowing you to pause and inspect problems in the middle of a process. Discover the latest......
Read more >Debugger/Diagnostics Tips & Tricks in Visual Studio 2019
Check out how you can use the debugger and profiling tools in Visual Studio 2019 more effectively on their projects via demos and...
Read more >Tracepoints: Debug with less clutter - Visual Studio Blog
If so, then Tracepoints are a great tool you can use in Visual Studio. This feature allows you to log desired information without...
Read more >ATF Debugging in San Diego - ServiceNow Developers
For ATF, simply right-click on the step (in the Test Steps related list) where you want the test to pause and choose Add/Remove...
Read more >Tips and Tricks (JDT) - IBM
Content assist provides you with a list of suggested completions for partially entered strings. In the Java editor press Ctrl+Space or use Edit...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the suggestion! We talked about it with the team and we have unfortunately decided we will not be moving forward with this idea. We think there isn’t an enough widespread need for this to warrant the maintenance cost for the feature.
Sorry, the above isn’t at all about whether or not this should work, but trying to figure out how this is working at the moment and how it is supposed to fit into the language server specification, as things seem to be behaving strangely and we don’t get enough info to properly handle things.