File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
packages/debugger/src/robotcode/debugger Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 48
48
VariablesArguments ,
49
49
VariablesResponseBody ,
50
50
)
51
- from .debugger import Debugger , PathMapping
51
+ from .debugger import Debugger , PathMapping , State
52
52
from .default_capabilities import DFEAULT_CAPABILITIES
53
53
from .mixins import SyncedEventBody
54
54
from .protocol import DebugAdapterProtocol
@@ -85,7 +85,11 @@ def __init__(self) -> None:
85
85
86
86
def on_debugger_send_event (self , sender : Any , event : Event , synced : bool = False ) -> None :
87
87
if self ._loop is not None :
88
- synced = True if isinstance (event .body , SyncedEventBody ) and event .body .synced else False
88
+ synced = (
89
+ Debugger .instance ().state != State .CallKeyword
90
+ if isinstance (event .body , SyncedEventBody ) and event .body .synced
91
+ else False
92
+ )
89
93
90
94
if synced :
91
95
self .sync_event .clear ()
You can’t perform that action at this time.
0 commit comments