RE: Db>
Riaan Booysen <
riaan@...>
2002-12-12 01:20:43 GMT
Hi Paolo,
>
> Hello boa-constructor-users,
>
> Maybe it's a stupid question... I'm missing something...
>
> How to change a local variable value from the shell while debugging
> (aka Db> prompt)?
>
> In the standard debugger, pdb, casted with pdb.set_trace(), I use the
> !, like !var1=1... with boa I've a Syntax Error...
>
> Db> debug=1
>
> File "<string>", line 1
> debug=1
> ^
> SyntaxError: invalid syntax
>
> Db> !debug=1
>
> File "<string>", line 1
> !debug=1
> ^
> SyntaxError: invalid syntax
>
> When I can I use some function (like setattr) or work in the __dict__,
> but I wonder if where is some other easy way...
(Continue reading)