mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-09 11:27:32 -03:00
2.8 KiB
2.8 KiB
Thorium Debugging Infra
- This contains .gn files and scripts for generating DEBUG builds of Thorium for debugging, testing, and inspection.
- The ABOUT_GN_ARGS.md describes what each line in the args *.gn files do, also useful for the regular build args *.gn files.
NOTE: You cannot build installers for any platform with a debug build. Running the clean.sh script in the root of the repo is highly recommended to get your //out/thorium dir from ~6-7 GB to something reasonable, like ~1-2 GB. - Running the
build_debug.sh
orbuild_win_debug.sh
will build the Thorium UI Debug Shell (views_examples_with_content) target as well as the rest of Thorium. - Running
build_debug_shell.sh
can be used for any platform, and will build the standalone Thorium UI Debug Shell.
NOTE: Running either of the above will make a directory in //out/thorium called Thorium_UI_Debug_Shell with all the artifacts and Readme inside, suitable for zipping up and distributing to users. - For more information, read the DEBUG_SHELL_README.md file).
More Info
The DEBUGGING.md file is a slightly modified version of the upstream Chromium one.
*For more information about debugging, See > Logging, Network Logging, Linux, MacOS, Android, ChromiumOS, and Windows, including WinDBG Help, and Dump Example.