diff options
author | David Terei <davidterei@gmail.com> | 2011-07-20 11:09:03 -0700 |
---|---|---|
committer | David Terei <davidterei@gmail.com> | 2011-07-20 11:26:35 -0700 |
commit | 16514f272fb42af6e9c7674a9bd6c9dce369231f (patch) | |
tree | e4f332b45fe65e2a7a2451be5674f887b42bf199 /testsuite/tests/ghci.debugger/scripts/break023/break023.script | |
parent | ebd422aed41048476aa61dd4c520d43becd78682 (diff) | |
download | haskell-16514f272fb42af6e9c7674a9bd6c9dce369231f.tar.gz |
Move tests from tests/ghc-regress/* to just tests/*
Diffstat (limited to 'testsuite/tests/ghci.debugger/scripts/break023/break023.script')
-rw-r--r-- | testsuite/tests/ghci.debugger/scripts/break023/break023.script | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testsuite/tests/ghci.debugger/scripts/break023/break023.script b/testsuite/tests/ghci.debugger/scripts/break023/break023.script new file mode 100644 index 0000000000..4ddd2d6be4 --- /dev/null +++ b/testsuite/tests/ghci.debugger/scripts/break023/break023.script @@ -0,0 +1,17 @@ + +-- We have this structure of modules: + +-- A (imports B.boot) +-- B (imports A) +-- B.boot (imports A) +-- C (imports A and B) + +-- And we load C, to debug some function called b in B. +-- But first we touch A, and reload. B.boot will be reloaded, but not B, which will end up with an empty modbreaks. We can no longer set a breakpoint in B.b +-- The effect we want is B.boot being reloaded while B is not. + +:l C +:break b -- it works ok at this point +:! touch A.hs +:r +:break b -- it does not work anymore |