Changes between Version 50 and Version 51 of NewGhciDebugger


Ignore:
Timestamp:
Apr 9, 2007 3:25:03 PM (7 years ago)
Author:
guest
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NewGhciDebugger

    v50 v51  
    222222}}}  
    223223Suppose we have a breakpoint set somewhere inside the computation done by `foo`, but there are no breakpoints in the computation done by `bar`. When we run this program in GHCi the following things happen: 
    224       * `foo` gets forked and `foo` and `bar` begin their work 
    225       * `bar` completes its job and we return to the GHCi prompt (uh oh!) 
    226       * `foo` eventually hits a breakpoint and attempts to return to the command line, but it can't because we are already there (in the previous step). 
     224  * `foo` gets forked and `foo` and `bar` begin their work 
     225  * `bar` completes its job and we return to the GHCi prompt (uh oh!) 
     226  * `foo` eventually hits a breakpoint and attempts to return to the command line, but it can't because we are already there (in the previous step). 
     227 
    227228Now the foo thread is blocked, so we can't witness the breakpoint. 
    228229