IDEA-CR-58850: PY-24748 Support step over for coroutines

(cherry picked from commit b66707327989822f23c57aa19fa81dd38a02ed67)

GitOrigin-RevId: e85b75676c138cf9ce2de0ac07a88f19a730f5c0
This commit is contained in:
Andrey Lisin
2020-03-02 18:39:00 +03:00
committed by intellij-monorepo-bot
parent d6b0fbf9a4
commit 2f87d7c3ae
40 changed files with 4251 additions and 3487 deletions

View File

@@ -7,6 +7,8 @@ import sys
from contextlib import contextmanager
import weakref
from _pydevd_bundle.pydevd_collect_try_except_info import collect_return_info
if sys.version_info[:2] < (2, 6):
raise RuntimeError('The PyDev.Debugger requires Python 2.6 onwards to be run. If you need to use an older Python version, use an older version of the debugger.')
@@ -457,6 +459,8 @@ class PyDB(object):
# the role PyDB plays in the communication with IDE
self.communication_role = None
self.collect_return_info = collect_return_info
def get_thread_local_trace_func(self):
try:
thread_trace_func = self._local_thread_trace_func.thread_trace_func