Opened 3 years ago

Closed 9 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 2 years ago by thomie

  • Keywords msys msys2 added

comment:2 Changed 2 years ago by thomie

  • Operating System changed from Unknown/Multiple to Windows

comment:3 Changed 13 months ago by thomie

  • Type of failure changed from None/Unknown to Documentation bug

comment:4 Changed 9 months ago by thomie

  • Resolution set to worksforme
  • Status changed from new to closed

Phyx- thinks this is not an issue anymore.

Note: See TracTickets for help on using tickets.