diff options
Diffstat (limited to 'examples/debugging.nim')
-rw-r--r-- | examples/debugging.nim | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/examples/debugging.nim b/examples/debugging.nim deleted file mode 100644 index 89cdd3b2a..000000000 --- a/examples/debugging.nim +++ /dev/null @@ -1,17 +0,0 @@ -# Simple program to test the debugger -# compile with --debugger:on - -proc someComp(x, y: int): int = - let a = x+y - if a > 7: - let b = a*90 - {.breakpoint.} - result = b - {.breakpoint.} - -proc pp() = - var aa = 45 - var bb = "abcdef" - echo someComp(23, 45) - -pp() |