From 0e3a7e4e8ecd36ab551033edfc71be396362d197 Mon Sep 17 00:00:00 2001 From: Yuxiao Mao Date: Wed, 19 Jun 2024 11:31:19 +0200 Subject: [PATCH] Add value info for this.fields error message --- src/HLAdapter.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HLAdapter.hx b/src/HLAdapter.hx index ff668fa..9c8f6fa 100644 --- a/src/HLAdapter.hx +++ b/src/HLAdapter.hx @@ -618,7 +618,7 @@ class HLAdapter extends DebugSession { var vthis = dbg.getValue("this"); var fields = dbg.eval.getFields(vthis); if( fields == null ) - debug("Can't get fields for "+dbg.eval.typeStr(vthis.t)); + debug("Can't get fields for this: " + vthis.v.getName() + " of " + dbg.eval.typeStr(vthis.t)); else response.body.scopes.push({ name : "Members",