#1669: GHCi debugger underlining is in the wrong place
----------------------+-----------------------------------------------------
  Reporter:  igloo    |          Owner:         
      Type:  bug      |         Status:  new    
  Priority:  normal   |      Milestone:  6.8    
 Component:  GHCi     |        Version:  6.7    
  Severity:  normal   |       Keywords:         
Difficulty:  Unknown  |             Os:  Unknown
  Testcase:           |   Architecture:  Unknown
----------------------+-----------------------------------------------------
Here's part of the break020 test, in `testsuite/tests/ghc-
 regress/ghci.debugger/scripts`:
 {{{
 % export TERM=vt100
 % ../../../../../compiler/stage2/ghc-inplace --interactive
 GHCi, version 6.7: http://www.haskell.org/ghc/  :? for help
 Loading package base ... linking ... done.
 Prelude> :l break020.hs
 [1 of 2] Compiling Break020b        ( Break020b.hs, interpreted )
 [2 of 2] Compiling Main             ( break020.hs, interpreted )
 Ok, modules loaded: Break020b, Main.
 *Main> :set stop :list
 *Main> :step main
 Stopped at break020.hs:(9,7)-(17,1)
 _result :: IO () = _
 8
 9  main = do
           ^^
 10    line1 0
 11    line2 0
 12    in_another_decl 0
 13    in_another_module 0
 14    line2 1
 15    return ()
 16
 17
    ^^
 [break020.hs:(9,7)-(17,1)] *Main> :steplocal
 Stopped at break020.hs:10:2-8
 _result :: IO () = _
 9  main = do
 10    line1 0
      ^^^^^^^
 11    line2 0
 [break020.hs:10:2-8] *Main>
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1669>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to