Changes between Version 7 and Version 8 of NewGhciDebugger


Ignore:
Timestamp:
Apr 8, 2007 4:34:11 PM (7 years ago)
Author:
guest
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NewGhciDebugger

    v7 v8  
    1010=== Setting break points === 
    1111 
     12The general rule of thumb for breakpoints is that you can set a breakpoint on any thing which is not already a value (though there are some exceptions). 
     13 
     14You '''can''' set breakpoints on the following syntactical things: (XXX) check this list carefully) 
     15 1. (nested) Function applications. 
     16 2. Case expressions. 
     17 3. Function declarations (all the equations of a function). 
     18 4. Case alternatives. 
     19 5. Do statements. 
     20 6. Guards. 
     21 7. Bodies of functions, pattern bindings, lambdas, guarded equations. 
     22 
     23Conversely, you '''cannot''' set breakpoints on the following syntactical things, except if they occur as the outermost expression in the body of a declaration: 
     24 1. Literals. 
     25 2. Variables. 
     26 
    1227You can set a breakpoint in three ways: 
    1328 1. By line number. 
     
    1530 3. By function name (not implemented yet). 
    1631 
    17 In each case you can specify which module to set the breakpoint in, however, if the module name is omitted then the debugger will choose a default module (XXX give a better explanation of what module is chosen by default). 
     32In each case you can specify which module to set the breakpoint in, however, if the module name is omitted, the debugger will choose a suitable default module (XXX give a better explanation of what module is chosen by default). 
    1833 
    1934The syntax for setting breakpoints by line number is: 
     
    3146}}} 
    3247 
    33 This will activate the breakpoint which corresponds to the  
     48This will activate the breakpoint which corresponds to the smallest (sub)expression which encloses the  
    3449 
    3550