-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"repr was slow" warning is modal in Visual Studio #981
Comments
Apparently this is what VS does with an |
It's possible to customize the timeout for the warning (so, you can put a big timeout to disable it). This can be done through an environment variable: Something as:
Would set the timeout to 0.5 seconds. The current value is 0.15 seconds (maybe we could up it a bit -- it was kept slow because this has a direct effect on the responsiveness of the debugger -- before that was implemented there were complains about the debugger not responding when the issue is really that computing a repr of some variable is slow and it's not something that the debugger can control). As a note, I haven't seen that as a dialog with confirmation so far (in fact, I remember that it was shown as a pop-up in the lower right corner which would fade out after a while). Is this a new thing in VSCode? |
That's the way it's handled by VS as opposed to VSCode. |
Oh, I missed this was on VS. Got it. |
Use the "console" category for warnings.
How do we add "PYDEVD_WARN_SLOW_RESOLVE_TIMEOUT" : "0.5"? |
no solution here |
The bug still exists |
-- another option is adding it in your system environment so that you don't need to add it to each new launch -- note that in this case you need to restart VSCode for it to pick that environment variable. |
I'm using Visual Studio Community so I'm not sure if the 'env' launch configuration is applicable. Adding it to my system variables worked though. Thanks. |
|
Closing issue in this repo since the work is in VS Debugger adapter host repo. An issue has been created there: microsoft/VSDebugAdapterHost#24 |
This issue has been moved from a ticket on Developer Community.
[regression] [worked-in:17.2.5]
Python Coding.
When I try to inspect a var by hovering my cursor over the var name in the edit window (something like a breakpoint used). Previously, I got a nice text box with var info, but now, I also get an annoying window (tittle: Microsoft Visual Studio, content: pydevd warning:Computing repr of datas (list)was slow (took 0.17s) ).
I must close it before returning to the edit window.
Could you tell me how to disable it?
I realy do not remember what I have done to cause this problem.
ps. I uploaded the screenshot via Additional Files.
Original Comments
Feedback Bot on 6/23/2022, 11:07 PM:
(private comment, text removed)
Feedback Bot on 6/23/2022, 11:07 PM:
(private comment, text removed)
Original Solutions
(no solutions)
The text was updated successfully, but these errors were encountered: