mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
If in the frame there is at least one very long or slow variable, the frame's variable aren't shown. In order to avoid such situations we add an option to load variables asynchronously. At first debugger loads only names of the variables, and after that it sends additional commands and evaluates values of the variables in a separate threads.
15 lines
213 B
Python
15 lines
213 B
Python
import time
|
|
|
|
|
|
class Foo(object):
|
|
def __init__(self, name):
|
|
self.name = name
|
|
|
|
def __repr__(self):
|
|
time.sleep(1)
|
|
return self.name
|
|
|
|
|
|
f = Foo("foo")
|
|
l = [Foo("list"), Foo("list")]
|
|
a = 1 |