diff options
Diffstat (limited to 'testsuite/tests/ghci.debugger/scripts/break017.script')
-rw-r--r-- | testsuite/tests/ghci.debugger/scripts/break017.script | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/ghci.debugger/scripts/break017.script b/testsuite/tests/ghci.debugger/scripts/break017.script new file mode 100644 index 0000000000..05c99acdda --- /dev/null +++ b/testsuite/tests/ghci.debugger/scripts/break017.script @@ -0,0 +1,11 @@ +:l ../QSort.hs +:set -fbreak-on-exception +:trace qsort ("abc" ++ undefined) +:back +putStrLn "Printing 1" +:print as +putStrLn "Forcing" +:force as +-- this should print the exception +putStrLn "Printing 2" +:print as |