diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2009-04-22 15:55:27 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2009-04-22 15:55:27 +0200 |
commit | e792940f5273bf8f8761c4cb29b241445e8b1d0b (patch) | |
tree | 8a6b224b8c0b3db14dbc20d89b7ca9ccb19b1f56 /lib/debugger.nim | |
parent | 439aa2d04d5528b5aed288f70895515d1da2dc3d (diff) | |
download | Nim-e792940f5273bf8f8761c4cb29b241445e8b1d0b.tar.gz |
version 0.7.6
Diffstat (limited to 'lib/debugger.nim')
-rw-r--r-- | lib/debugger.nim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/debugger.nim b/lib/debugger.nim index f5d526d70..73a1e4db2 100644 --- a/lib/debugger.nim +++ b/lib/debugger.nim @@ -348,9 +348,9 @@ proc dbgStackFrame(s: string, start: int, currFrame: PExtendedFrame) = proc CommandPrompt() = # if we return from this routine, user code executes again var - again: bool = True + again = True dbgFramePtr = framePtr # for going down and up the stack - dbgDown: int = 0 # how often we did go down + dbgDown = 0 # how often we did go down while again: write(stdout, "*** endb| >>") @@ -478,10 +478,10 @@ proc dbgRegisterGlobal(name: cstring, address: pointer, inc(dbgGlobalData.f.len) proc endb(line: int) {.compilerproc.} = - # This proc is called before any Nimrod code line! + # This proc is called before every Nimrod code line! # Thus, it must have as few parameters as possible to keep the # code size small! - # check if we are at an enabled breakpoint or "in the mood" + # Check if we are at an enabled breakpoint or "in the mood" framePtr.line = line # this is done here for smaller code size! if dbgLineHook != nil: dbgLineHook() case dbgState |