blob: d598a474d7ed802032aa8619c8d5ea57f2c6d60e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
:l QSort.hs
:set -fbreak-on-exception
:trace qsort ("abc" ++ undefined)
-- Back up to the (filter (<=a) as) call
:back
:back
putStrLn "Printing 1"
:print as
putStrLn "Forcing"
:force as
-- this should print the exception
putStrLn "Printing 2"
:print as
|