mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-17 16:28:06 +03: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: https://github.com/SerenityOS/serenity/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
@ -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…
Reference in New Issue
Block a user