From 4e5ded8855b527765750502fd4f2f0b0b733cacf Mon Sep 17 00:00:00 2001 From: Lukasz Stafiniak Date: Tue, 19 Mar 2024 21:43:57 +0100 Subject: [PATCH] Fix missing hyperlinks in flame graphs (html trickery) --- minidebug_runtime.ml | 2 +- test/debugger_sexp_html-toc.expected.html | 68 +++++++++++------------ 2 files changed, 35 insertions(+), 35 deletions(-) diff --git a/minidebug_runtime.ml b/minidebug_runtime.ml index 4930226..c270c7c 100644 --- a/minidebug_runtime.ml +++ b/minidebug_runtime.ml @@ -860,7 +860,7 @@ module PrintBox (Log_to : Shared_config) = struct
|}; Buffer.output_buffer toc_ch @@ stack_to_flame ~elapsed_on_close toc_header entry; - output_string toc_ch @@ {|
|}; flush toc_ch)); diff --git a/test/debugger_sexp_html-toc.expected.html b/test/debugger_sexp_html-toc.expected.html index fc3bc3c..f626deb 100644 --- a/test/debugger_sexp_html-toc.expected.html +++ b/test/debugger_sexp_html-toc.expected.html @@ -4,58 +4,58 @@
-
+
-
"test/test_debug_html.ml":17:19: bar
+
"test/test_debug_html.ml":17:19: bar
-
+
-
"test/test_debug_html.ml":23:19: baz
+
"test/test_debug_html.ml":23:19: baz
-
+
-
+
-
+
"test/test_debug_html.ml":30:19: lab
-
+
-
"test/test_debug_html.ml":36:24: loop
+
"test/test_debug_html.ml":36:24: loop
@@ -63,35 +63,35 @@
-
+
+
-
+
+
-
+
-
+
-
+ -
+
+