|
| Am I using debug correctly |
 |
Tue, 19 Feb 2008 17:08:49 -050 |
I want to debug a program.
Stepping through it, I can look at variables.
But if there is an error, variables are no longer accessible. I can
see the Variables window, I can see the names of variables. (I can even
scroll down to get more names) But what I can't do is look at the values.
In SB when you debug and get an error, you can still look at the
variables to see what might have gone wrong.
|
| Post Reply
|
| Re: Am I using debug correctly |
 |
Wed, 20 Feb 2008 09:56:30 +000 |
Kromkowski wrote:
> I want to debug a program.
>
> Stepping through it, I can look at variables.
> But if there is an error, variables are no longer accessible. I can
> see the Variables window, I can see the names of variables. (I can even
> scroll down to get more names) But what I can't do is look at the values.
>
> In SB when you debug and get an error, you can still look at the
> variables to see what might have gone wrong.
>
> Have I missed a setting or is this just how the IDE "works".
I am not particularly happy with this, since I think we should retain
the current value of every variable that we already have the value for,
but currently it does not work that way. What it tends to mean is that
if it breaks on a line in the code, you need to set a breakpoint on that
line and rerun it. When it gets to that line, don't single-step until
you have examined the variables. I will be adding this wish (to retain
the current known values of variables) to the list for the IDE. With any
luck, it shouldn't be too hard to implement.
|
| Post Reply
|
|
|
|
|
|
|
|
|
|