summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/ghci.debugger/scripts/dynbrk001.script
blob: 95c1ab6118b8a7609279bddc45fdb9cfeb261c74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

:set -fprint-explicit-foralls

:l ../QSort

:delete 1        
-- Illegal: empty breakpoint list

:break NonModule 1
-- Illegal: I don't know this module

:break QSort 1 1    
-- Error: No breakpoint here

:show breaks             
-- Show an empty list

qsort [8, 4, 42, 16, 15, 23]  
-- Should run normally

-- Testing that ghci commands work normally
:i map