mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
Meta: Ladybird.py debug on Windows
This adds the .exe suffix when passing the target process to the debugger.
This commit is contained in:
parent
b6f5c91a35
commit
d25f0571a9
Notes:
github-actions[bot]
2025-11-07 22:18:33 +00:00
Author: https://github.com/R-Goc
Commit: d25f0571a9
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6746
Reviewed-by: https://github.com/gmta ✅
1 changed files with 2 additions and 0 deletions
|
|
@ -400,6 +400,8 @@ def debug_main(host_system: HostSystem, build_dir: Path, target: str, debugger:
|
|||
|
||||
if target == "Ladybird" and host_system == HostSystem.macOS:
|
||||
gdb_args.append(str(build_dir.joinpath("bin", "Ladybird.app")))
|
||||
elif host_system == HostSystem.Windows:
|
||||
gdb_args.append(str(build_dir.joinpath("bin", target + ".exe")))
|
||||
else:
|
||||
gdb_args.append(str(build_dir.joinpath("bin", target)))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue