Is there a way to combine both :main and :trace commands in GHCi? I need to trace an exception in an app that needs input arguments.
Sure, it's simply :trace main.
Do not forget about :set -fbreak-on-error and :set -fbreak-on-exception.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With