Files
openide/python/testData/debug/test_step_into_with_threads.py
Andrey Lisin abd6ecef4d PY-37580 Add unit test for stepping into in new thread
GitOrigin-RevId: 4e27a685170fe20201e1aeb579747f4f23d03628
2019-09-03 15:34:42 +00:00

23 lines
365 B
Python

from __future__ import print_function
import threading
class A(threading.Thread):
def foo(self):
print("foo")
def bar(self):
print("bar")
def baz(self):
print("baz")
def run(self):
self.foo() # breakpoint
self.bar()
self.baz() # breakpoint
if __name__ == '__main__':
t = A()
t.start()