From 3024095f8e068ba915b3c48f43a28df49e9bfc9e Mon Sep 17 00:00:00 2001 From: Fabio Zadrozny Date: Thu, 30 Jan 2020 10:07:50 -0300 Subject: [PATCH] Show log as info, not critical --- .../_pydevd_bundle/pydevd_additional_thread_info_regular.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_additional_thread_info_regular.py b/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_additional_thread_info_regular.py index 259a70e0..334fe052 100644 --- a/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_additional_thread_info_regular.py +++ b/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_additional_thread_info_regular.py @@ -130,7 +130,9 @@ class PyDBAdditionalThreadInfo(object): current_frames = _current_frames() topmost_frame = current_frames.get(thread.ident) if topmost_frame is None: - pydev_log.critical( + # Note: this is expected for dummy threads (so, getting the topmost frame should be + # treated as optional). + pydev_log.info( 'Unable to get topmost frame for thread: %s, thread.ident: %s, id(thread): %s\nCurrent frames: %s.\n' 'GEVENT_SUPPORT: %s', thread,