#1429: debugger src locations break with lhs files
-------------------------+--------------------------------------------------
    Reporter:  mnislaih  |        Owner:            
        Type:  bug       |       Status:  reopened  
    Priority:  normal    |    Milestone:  6.8 branch
   Component:  GHCi      |      Version:  6.7       
    Severity:  minor     |   Resolution:            
    Keywords:  debugger  |   Difficulty:  Unknown   
          Os:  Unknown   |     Testcase:            
Architecture:  Unknown   |  
-------------------------+--------------------------------------------------
Changes (by mnislaih):

  * status:  closed => reopened
  * resolution:  invalid =>
  * severity:  major => minor

Old description:

> Probably srclocs being used by the debugger are those of the unlit-ed
> source tree.
>
> Things that fail include
>  * :break <line> sets the breakpoint in the wrong place
>  * :list
>  * the ghci prompt

New description:

 A bang pattern in a .lhs file confuses :list by one line

Comment:

 I found it, it is a bang pattern in a .lhs file.
 Try with the usual suspect, a Setup.lhs file.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1429#comment:3>
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