summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Skoland <david.skoland@qt.io>2022-12-23 14:03:05 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-12-27 14:46:48 +0000
commitfda1494d48b3cc00e2d7c6756cecbda041297103 (patch)
tree55817a8af3bfec0812158c2dbb58d596059a6377
parent253a719ab7e02cf42c83637bcd62cffff40f41c2 (diff)
downloadqtdoc-fda1494d48b3cc00e2d7c6756cecbda041297103.tar.gz
wasm: Document DWARF debugging
Since this can easily be enabled with -g and an extension, it should be documented. Fixes: QTBUG-105699 Change-Id: Ic755d81f9c5ac521ac02fbdfc8ab246094c99ab0 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io> (cherry picked from commit 7271c21fb8547a76a2582c212b6b4e1b965f60fc) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--doc/src/platforms/wasm.qdoc3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/src/platforms/wasm.qdoc b/doc/src/platforms/wasm.qdoc
index 46bb3bf1..bffeb904 100644
--- a/doc/src/platforms/wasm.qdoc
+++ b/doc/src/platforms/wasm.qdoc
@@ -568,6 +568,9 @@ the --device-option QT_WASM_SOURCE_MAP=1, and building a debug build.
\li \l {https://developer.mozilla.org/en-US/docs/Tools/Debugger/How_to/Use_a_source_map}
\li \l {https://developers.google.com/web/tools/chrome-devtools/javascript/source-maps#source_maps_in_devtools_sources_panel}
\endlist
+\li Debug symbols via DWARF are also enabled if the program is linked with the -g flag (tested with Chrome)
+ \li This will require this extension: \l {https://goo.gle/wasm-debugging-extension}
+ \li See also \l {https://developer.chrome.com/blog/wasm-debugging-2020/}
\li Mobile browsers can use remote debugging
\list
\li \l {https://developer.mozilla.org/en-US/docs/Tools/Remote_Debugging}