mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-23 17:58:59 +00:00
Ladybird/CMake: Launch gdb with follow fork mode to debug WebContent
This commit is contained in:
parent
d1b2c2977e
commit
fb71dc5141
Notes:
sideshowbarker
2024-07-17 07:14:09 +09:00
Author: https://github.com/networkException
Commit: fb71dc5141
Pull-request: https://github.com/SerenityOS/serenity/pull/16583
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/awesomekling ✅
Reviewed-by: https://github.com/linusg
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ add_custom_target(run
|
|||
)
|
||||
|
||||
add_custom_target(debug
|
||||
COMMAND "${CMAKE_COMMAND}" -E env "SERENITY_SOURCE_DIR=${SERENITY_SOURCE_DIR}" gdb "$<TARGET_FILE:ladybird>"
|
||||
COMMAND "${CMAKE_COMMAND}" -E env "SERENITY_SOURCE_DIR=${SERENITY_SOURCE_DIR}" gdb -ex "set follow-fork-mode child" "$<TARGET_FILE:ladybird>"
|
||||
USES_TERMINAL
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue