From e6db9149b9023c7ad3a7b0725a1dcdd628c28bcd Mon Sep 17 00:00:00 2001 From: Yuxiao Mao Date: Tue, 26 Mar 2024 11:21:41 +0100 Subject: [PATCH] Print error when we can't evaluate condition --- hld/Debugger.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hld/Debugger.hx b/hld/Debugger.hx index c41e6da..7ce8118 100644 --- a/hld/Debugger.hx +++ b/hld/Debugger.hx @@ -393,7 +393,7 @@ class Debugger { } } } catch( e : Dynamic ) { - if( DEBUG ) trace("Can't evaluate condition for breakpoint: " + condition); + trace("Can't evaluate condition (" + condition + ") for breakpoint: " + e); } } return cmd.r;