Changes between Version 20 and Version 21 of NewGhciDebugger


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

--

Legend:

Unmodified
Added
Removed
Modified
  • NewGhciDebugger

    v20 v21  
    55 
    66These notes detail the breakpoint debugger which is being incorportated into GHCi. Note that there was/is a previous prototype debugger, and we share some of its code (specifically the term printer) (see: [wiki:GhciDebugger]). 
    7  
    87 
    98---- 
     
    8180Breakpoint 0 is set in the module `Main` on the breakable expression which spans between the source locations (12,4) to (12,8). Similarly for breakpoints 1 and 2. 
    8281 
     82=== Deleting breakpoints === 
     83 
     84You can delete any active breakpoint with the `:delete` command. Breakpoints are refered to by their unique number which is displayed by the `:show breaks` command (see above). You can refer to more than one breakpoint at a time, for example: 
     85{{{ 
     86   :delete 2 12 
     87}}} 
     88This will delete the breakpoints numbered 2 and 12. If you specify a breakpoint which does not exist, the debugger will simply ignore it. 
     89 
     90You can also delete all the active breakpoints by giving the asterisk as an argument to `delete`, like so: 
     91{{{ 
     92   :delete * 
     93}}} 
     94 
    8395=== Inspecting values === 
    8496