|
From: | John W. Eaton |
Subject: | Re: Debug Line Numbers |
Date: | Mon, 11 Mar 2013 15:41:56 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:10.0.11) Gecko/20121122 Icedove/10.0.11 |
On 03/11/2013 02:55 PM, Rik wrote:
3/11/13 John, This isn't an immediate concern because I know the parser is still in flux. However, the lines that the debug system chooses for breakpoints have changed. It used to be that a breakpoint would be set at the first executable line of an m-file. This meant skipping any initial comments, blank lines, and the function header. Now the breakpoint appears to be set at the first non-comment line. In 3.6.4 dbstop ls ans = 42 On dev branch dbstop ls ans = 39
It looks like the line numbers are off. I must have missed incrementing the line number counter in the lexer when a newline character is read at some point. I'll see if I can find it.
Thanks, jwe
[Prev in Thread] | Current Thread | [Next in Thread] |