Meta: Ladybird.py debug on Windows

This adds the .exe suffix when passing the target process to the
debugger.
This commit is contained in:
R-Goc 2025-11-07 19:04:13 +01:00 committed by Jelle Raaijmakers
parent b6f5c91a35
commit d25f0571a9
Notes: github-actions[bot] 2025-11-07 22:18:33 +00:00

View file

@ -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)))