From 4ade8995a769cbfd9f8e40805b7885d25dac1c4e Mon Sep 17 00:00:00 2001 From: David Grudl Date: Wed, 8 Mar 2023 05:15:25 +0100 Subject: [PATCH] BlueScreen: added source to header --- src/Tracy/BlueScreen/assets/page.phtml | 2 ++ tests/Tracy/expected/Debugger.E_ERROR.html.expect | 1 + tests/Tracy/expected/Debugger.error-in-eval.expect | 1 + tests/Tracy/expected/Debugger.exception.fiber.html.expect | 1 + tests/Tracy/expected/Debugger.exception.generator.html.expect | 1 + tests/Tracy/expected/Debugger.exception.html.expect | 1 + tests/Tracy/expected/Debugger.strict.html.expect | 1 + 7 files changed, 8 insertions(+) diff --git a/src/Tracy/BlueScreen/assets/page.phtml b/src/Tracy/BlueScreen/assets/page.phtml index 59d01aae7..0dff01fbb 100644 --- a/src/Tracy/BlueScreen/assets/page.phtml +++ b/src/Tracy/BlueScreen/assets/page.phtml @@ -9,6 +9,7 @@ namespace Tracy; * @var string $title * @var ?string $nonce * @var string $css + * @var string $source */ $code = $exception->getCode() ? ' #' . $exception->getCode() : ''; @@ -28,6 +29,7 @@ $chain = Helpers::getExceptionChain($exception); echo Helpers::escapeHtml("\n\tcaused by " . get_debug_type($ex) . ': ' . $ex->getMessage() . ($ex->getCode() ? ' #' . $ex->getCode() : '')); } ?> --> +