Re: Dialogs and inheritance
- To: mathgroup at smc.vnet.net
- Subject: [mg76469] Re: Dialogs and inheritance
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Wed, 23 May 2007 05:05:31 -0400 (EDT)
- Organization: Uni Leipzig
- References: <f2u3c3$j45$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
Hi,
what is so difficult with the debbuger ?
Go to the evaluation menu and enable the debugger.
It will open a palette with "Break Selection",
"Halt", "Continue" buttons. Now use you mouse and select
the line and use the "Break at Selection" button. You should get
a red frame around the break point line.
If you what to see the local variables use "Show stack" button.
Regards
Jens
alexxx.magni at gmail.com wrote:
> Hello,
> I'm trying to learn to use Dialogs for debugging purposes - since I
> cannot learn the right way to use the integrated debugger.
> Can you please tell me what is wrong in the following???
>
> In[1]:= Module[{a},
> Do[
> a = {i, Sin[i]};
> Dialog[],
> {i, 100}]]
>
> (Dialog) In[2]:= i
>
> (Dialog) Out[2]= 1
>
> (Dialog) In[3]:= a
>
> (Dialog) Out[3]= a
>
> I thought under Dialog I could be able to see all the local values of
> the variables!
>
> P.S. any hint on where to start with the integrated debugger? The V6
> guide: guide/TuningAndDebugging is rather limited...
>
> thanks!
>
> Alessandro Magni
>
>