Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Dialogs and inheritance

  • To: mathgroup at smc.vnet.net
  • Subject: [mg76497] Re: [mg76417] Dialogs and inheritance
  • From: "Lev Bishop" <lev.bishop+mathgroup at gmail.com>
  • Date: Wed, 23 May 2007 05:20:00 -0400 (EDT)
  • References: <200705220640.CAA19062@smc.vnet.net>

On 5/22/07, alexxx.magni at gmail.com <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!

In the documentation, tutorial/HowModulesWork has an example just like this.

> P.S. any hint on where to start with the integrated debugger? The V6
> guide: guide/TuningAndDebugging is rather limited...
>
> thanks!
>
> Alessandro Magni
>
>
>


  • Prev by Date: Re: Dialogs and inheritance
  • Next by Date: Re: Plot[], Show[] and ; in Version 6
  • Previous by thread: Dialogs and inheritance
  • Next by thread: Re: Re: Dialogs and inheritance