You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When I run a test in debug mode, I sometimes get this error. When a test fails, the debugger often gets disconnected from the execution, which continues to the end without stopping at the breaking point.
Task exception was never retrieved
future: <Task finished name='handle_message' coro=<DebugAdapterProtocol.handle_message() done, defined at /Users/usr/.vscode/extensions/d-biehl.robotcode-1.2.0/bundled/libs/robotcode/debugger/protocol.py:150> exception=DebugAdapterErrorResponseError('invalid response (seq=-1 command=""): Invalid response. Could not find id \'6\' in request list Response(request_seq=6, success=True, command=\'evaluate\', message=None, type=\'response\', seq=4, body={\'result\': \'Unable to evaluate expression. No context available.\', \'type\': \'FatalError\', \'variablesReference\': 0}) (Message(format="Invalid response. Could not find id \'6\' in request list Response(request_seq=6, success=True, command=\'evaluate\', message=None, type=\'response\', seq=4, body={\'result\': \'Unable to evaluate expression. No context available.\', \'type\': \'FatalError\', \'variablesReference\': 0})", id=-1, variables=None, send_telemetry=None, show_user=True, url=None, url_label=None))')>
Traceback (most recent call last):
File "/Users/usr/.vscode/extensions/d-biehl.robotcode-1.2.0/bundled/libs/robotcode/debugger/protocol.py", line 157, in handle_message
self.handle_error_response(message)
File "/Users/usr/.vscode/extensions/d-biehl.robotcode-1.2.0/bundled/libs/robotcode/debugger/protocol.py", line 337, in handle_error_response
raise exception
robotcode.debugger.protocol.DebugAdapterErrorResponseError: invalid response (seq=-1 command=""): Invalid response. Could not find id '6' in request list Response(request_seq=6, success=True, command='evaluate', message=None, type='response', seq=4, body={'result': 'Unable to evaluate expression. No context available.', 'type': 'FatalError', 'variablesReference': 0}) (Message(format="Invalid response. Could not find id '6' in request list Response(request_seq=6, success=True, command='evaluate', message=None, type='response', seq=4, body={'result': 'Unable to evaluate expression. No context available.', 'type': 'FatalError', 'variablesReference': 0})", id=-1, variables=None, send_telemetry=None, show_user=True, url=None, url_label=None))
Steps To Reproduce
Steps to reproduce the behavior:
Go to a test script
Run it in debug mode
Expected behavior
The debugger shows no error and stops correctly at breaking points
Desktop (please complete the following information):
VS Code Version 1.99.3
RobotCode Version 1.2.0
OS: macOS 15.4.1
Python Version 3.12.2
RobotFramework Version 7.2.2
Tidy 4.16.0
Robocop 5.8.1
The text was updated successfully, but these errors were encountered:
Describe the bug
When I run a test in debug mode, I sometimes get this error. When a test fails, the debugger often gets disconnected from the execution, which continues to the end without stopping at the breaking point.
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
The debugger shows no error and stops correctly at breaking points
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: