Skip to content

Commit d25f057

Browse files
R-Gocgmta
authored andcommitted
Meta: Ladybird.py debug on Windows
This adds the .exe suffix when passing the target process to the debugger.
1 parent b6f5c91 commit d25f057

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Meta/ladybird.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,8 @@ def debug_main(host_system: HostSystem, build_dir: Path, target: str, debugger:
400400

401401
if target == "Ladybird" and host_system == HostSystem.macOS:
402402
gdb_args.append(str(build_dir.joinpath("bin", "Ladybird.app")))
403+
elif host_system == HostSystem.Windows:
404+
gdb_args.append(str(build_dir.joinpath("bin", target + ".exe")))
403405
else:
404406
gdb_args.append(str(build_dir.joinpath("bin", target)))
405407

0 commit comments

Comments
 (0)