Opened 18 months ago

Last modified 3 weeks ago

#8992 new task

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


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 (3)

comment:1 Changed 13 months ago by thomie

  • Keywords msys msys2 added

comment:2 Changed 11 months ago by thomie

  • Operating System changed from Unknown/Multiple to Windows

comment:3 Changed 3 weeks ago by thomie

  • Type of failure changed from None/Unknown to Documentation bug
Note: See TracTickets for help on using tickets.