Changes between Version 25 and Version 26 of NewGhciDebugger


Ignore:
Timestamp:
Apr 8, 2007 5:23:05 PM (7 years ago)
Author:
guest
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NewGhciDebugger

    v25 v26  
    100100   Stopped at breakpoint in Main. Location: (6,6)-(6,20). 
    101101   Locals: x :: Bool, f :: Bool -> Bool, xs :: [Bool], fx :: Bool, j :: Bool 
     102   *Main> 
     103}}} 
     104 
     105The string `*Main>` is GHCi's prompt marker. Note that it can change depending on what modules you have loaded.  
     106 
     107All the normal GHCi commands work at the prompt, including the evaluation of arbitrary expressions. In addition to the normal prompt behaviour, the local variables of the breakpoint are also made available. For instance, in the above example the variable `xs` is a list of booleans, and we can calculate its length in the usual way: 
     108 
     109{{{ 
     110   *Main> length xs 
     111   3 
    102112}}} 
    103113