Opened 14 months ago

Last modified 7 months 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: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Revisions:

Description

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

comment:1 Changed 8 months ago by thomie

  • Keywords msys msys2 added

comment:2 Changed 7 months ago by thomie

  • Operating System changed from Unknown/Multiple to Windows
Note: See TracTickets for help on using tickets.