================
@@ -86,8 +86,16 @@ def _run_debugger_custom(self, cmdline):
 
         self.step_collection.clear_steps()
 
+        def check_condition(step: StepIR, frame_idx: int, condition: str):
+            """Evaluates the given condition at the given frame index. 
Requires the debugger session to be alive and the
+            debuggee must be stopped."""
+            cond_value = self.debugger.evaluate_expression(condition, 
frame_idx)
+            step.frames[frame_idx].watches[condition] = cond_value
+            # FIXME: This is a language-specific test (albeit it covers all 
languages Dexter is currently used with).
----------------
OCHyams wrote:

Potentially useless suggestion, would it be worth doing a "true == true" check 
at some point, during init or something? possibly it's just too much faff to be 
worth it

https://github.com/llvm/llvm-project/pull/203847
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to