Changes between Version 11 and Version 12 of NewGhciDebugger
- Timestamp:
- 04/08/07 09:52:33 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NewGhciDebugger
v11 v12 12 12 The general rule of thumb for breakpoints is that you can set a breakpoint on any thing which is not a value (though there are some exceptions). For example, a literal character is a value, but a case expression is not. 13 13 14 You '''can''' set breakpoints on the following syntactical things: (XXX) check this list carefully) 14 We call the places where you can set breakpoints as '''breakable expressions''' (even if some of them aren't strictly expressions). 15 16 You '''can''' set breakpoints on the following things: (XXX) Check this list carefully! 15 17 1. Function applications. We allow breakpoints on partial applications, even though they are technically values. Also, if there is an application with more than one argument, we only allow breaks on the whole expression, not on the sub-applications within: e.g. for the expression `map f list`, we allow a break on the whole expression, but not on the sub-application of `map f`. 16 18 2. Case expressions. … … 26 28 3. Do blocks. XXX check this one 27 29 4. List comprehensions. XXX check this one 28 29 We call the places where you can set breakpoints as '''breakable expressions''' (even if some of them aren't strictly expressions).30 30 31 31 You can set a breakpoint in three ways:
