1

Program is here, although it's a lot of code and I don't know where the issue is:

https://github.com/rocurley/BlockPhys

My program hangs (gloss window displays whatever's behind it, and debugging information is not printed) whenever I run it. Ordinarily I would run it in profiling mode to find what looks like an infinite loop:

cabal run --ghc-options="-osuf p_o -prof -auto -auto-all"

But (despite what other questions would lead me to believe) the profiling file is blank after I ^c the program.

The other option for debugging infinite loops I know of is GHCI, but when I run main via cabal repl, the program works!

Does anyone have an idea where to start debugging this?

Community
  • 1
  • 1
user1454156
  • 133
  • 3

0 Answers0