From 15d189f6b442a3c8d1f18ff513c504d318921423 Mon Sep 17 00:00:00 2001 From: Michael Gronover Date: Mon, 23 Sep 2024 14:19:09 +0200 Subject: [PATCH 1/2] add callback function when trace node is add/inserted into the tree --- .../com/mbeddr/mpsutil/interpreter/rt.mps | 194 +++++++++--------- 1 file changed, 94 insertions(+), 100 deletions(-) diff --git a/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.interpreter/runtime/models/com/mbeddr/mpsutil/interpreter/rt.mps b/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.interpreter/runtime/models/com/mbeddr/mpsutil/interpreter/rt.mps index c797d157563..5a615638175 100644 --- a/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.interpreter/runtime/models/com/mbeddr/mpsutil/interpreter/rt.mps +++ b/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.interpreter/runtime/models/com/mbeddr/mpsutil/interpreter/rt.mps @@ -332,6 +332,14 @@ + + + + + + + + @@ -15240,7 +15248,17 @@ - + + + + + + + + + + + @@ -15266,6 +15284,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -15891,7 +15953,12 @@ - + + + + + + @@ -15981,6 +16048,26 @@ + + + + + + + + + + + + + + + + + + + + @@ -16047,104 +16134,11 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + From 5cd7ace086bf45543563c58a90ff8c44c78d3d68 Mon Sep 17 00:00:00 2001 From: Michael Gronover Date: Mon, 23 Sep 2024 15:47:37 +0200 Subject: [PATCH 2/2] Interpreter: adds callback function when trace node is add/inserted into the tree (#2527) --- CHANGELOG.md | 6 ++++++ .../models/com/mbeddr/mpsutil/interpreter/rt.mps | 11 +++-------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ac9fc78f13..6484171d4e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,12 @@ Semantic Versioning and the changes are simply documented in reverse chronologic * Breaking change: debugger and spawner were not maintained and were removed. +## com.mbeddr.mpsutil.interpreter + +### Feature + +- Added user defineable call back function when trace node is added to the trace tree + ## com.mbeddr.mpsutil.margincell ### Fixed diff --git a/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.interpreter/runtime/models/com/mbeddr/mpsutil/interpreter/rt.mps b/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.interpreter/runtime/models/com/mbeddr/mpsutil/interpreter/rt.mps index 5a615638175..acab2a16392 100644 --- a/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.interpreter/runtime/models/com/mbeddr/mpsutil/interpreter/rt.mps +++ b/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.interpreter/runtime/models/com/mbeddr/mpsutil/interpreter/rt.mps @@ -15285,7 +15285,7 @@ - + @@ -15311,7 +15311,7 @@ - + @@ -15953,12 +15953,7 @@ - - - - - - +