| [#1169] | project: compiler | priority: medium | category: bug | |
|---|---|---|---|---|
| submitter | assigned to | status | date submitted | |
| Sean | Iulian | fixed | 2007-06-05 21:22:02.0 | |
| subject | false branch statement triggers breakpoint | |||
| code |
object Test {
def main(args: Array[String]) = {
if (args.length < 0) {
assert(false)
}
}
} |
|||
| what happened | Set a breakpoint at "assert(false)", run the program, the debugger will stop at assert(false) although the state\ ment is not actually executed. |
|||
| what expected | Dont think this was in 2.4, and it makes debugging really annoying. Also, it might be a regression, as I think we had this problem before. | |||
| [back to overview] | ||||
| Iulian edited on 2007-06-06 11:12:54.0 |
| Medium priority? :-) |