Opened 3 years ago

Closed 20 months ago

#8992 closed task (worksforme)

Instructions for using gdb with GHC on Windows

Reported by: ezyang Owned by:
Priority: normal Milestone:
Component: Documentation Version:
Keywords: msys, msys2 Cc:
Operating System: Windows Architecture: Unknown/Multiple
Type of failure: Documentation bug Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


gdb remains a useful tool for debugging executables on Windows, but getting it setup can be tricky, since modern gdb requires Python, which means you will end up installing MSYS Python alongside native Python. Unfortunately, MSYS Python doesn't work with the test suite, so one is in the delicate situation where you want your path to have MSYS Python if you're running gdb, but Windows Python if you're running the test suite. While one can work around this with modest annoyance (the easiest thing I've found is to just uninstall gdb/python when I'm not using it), it would be better if we removed this friction in some way.

Change History (4)

comment:1 Changed 3 years ago by thomie

Keywords: msys msys2 added

comment:2 Changed 3 years ago by thomie

Operating System: Unknown/MultipleWindows

comment:3 Changed 2 years ago by thomie

Type of failure: None/UnknownDocumentation bug

comment:4 Changed 20 months ago by thomie

Resolution: worksforme
Status: newclosed

Phyx- thinks this is not an issue anymore.

Note: See TracTickets for help on using tickets.