Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
ab724eab
Commit
ab724eab
authored
Oct 02, 2008
by
Ian Lynagh
Browse files
Tweak break017
parent
a589f829
Changes
2
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/ghci.debugger/scripts/break017.script
View file @
ab724eab
...
...
@@ -2,7 +2,10 @@
: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
testsuite/tests/ghc-regress/ghci.debugger/scripts/break017.stdout
View file @
ab724eab
...
...
@@ -4,6 +4,9 @@ Logged breakpoint at ../QSort.hs:6:23-37
_result :: [Char]
a :: Char
as :: [Char]
Printing 1
as = 'b' : 'c' : (_t1::[Char])
Forcing
*** Exception: Prelude.undefined
Printing 2
as = 'b' : 'c' : (_t2::[Char])
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment