-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(debugger): display a virtual variable in the local scope with de…
…tails about the current exception when an exception breakpoint is triggered
- Loading branch information
Showing
4 changed files
with
80 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 48 additions & 0 deletions
48
packages/debugger/src/robotcode/debugger/default_capabilities.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
from .dap_types import Capabilities, ExceptionBreakpointsFilter | ||
|
||
DFEAULT_CAPABILITIES = Capabilities( | ||
supports_configuration_done_request=True, | ||
supports_conditional_breakpoints=True, | ||
supports_hit_conditional_breakpoints=True, | ||
support_terminate_debuggee=True, | ||
supports_evaluate_for_hovers=True, | ||
supports_terminate_request=True, | ||
supports_log_points=True, | ||
supports_set_expression=True, | ||
supports_set_variable=True, | ||
supports_value_formatting_options=True, | ||
exception_breakpoint_filters=[ | ||
ExceptionBreakpointsFilter( | ||
filter="failed_keyword", | ||
label="Failed Keywords", | ||
description="Breaks on failed keywords", | ||
default=False, | ||
supports_condition=True, | ||
), | ||
ExceptionBreakpointsFilter( | ||
filter="uncaught_failed_keyword", | ||
label="Uncaught Failed Keywords", | ||
description="Breaks on uncaught failed keywords", | ||
default=True, | ||
supports_condition=True, | ||
), | ||
ExceptionBreakpointsFilter( | ||
filter="failed_test", | ||
label="Failed Test", | ||
description="Breaks on failed tests", | ||
default=False, | ||
supports_condition=True, | ||
), | ||
ExceptionBreakpointsFilter( | ||
filter="failed_suite", | ||
label="Failed Suite", | ||
description="Breaks on failed suite", | ||
default=False, | ||
supports_condition=True, | ||
), | ||
], | ||
supports_exception_options=True, | ||
supports_exception_filter_options=True, | ||
supports_completions_request=True, | ||
supports_a_n_s_i_styling=True, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters