From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Thu, 14 Sep 2006 14:49:06 -0700 From: "Tharaneedharan Vilwanathan" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] OT: Acid question? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Topicbox-Message-UUID: b3dd22cc-ead1-11e9-9d60-3106f5b1d025 oh, i meant /doc in Inferno's root directory. If you have inferno installed, you can check it up. Else, you need to install inferno somewhere to see the file, I think. dharani On 9/14/06, ISHWAR RATTAN wrote: > I had looked through /sys/doc/acid.* and was unable to find > the information there. Maybe it is something trivial :-( > > -ishwar > > On Thu, 14 Sep 2006, Tharaneedharan Vilwanathan wrote: > > > Acid Tutorial by Tad Hunt also may be useful. I see it in > > /doc/acidtut.pdf in Inferno release but I couldnt find a web link. > > > > regards > > dharani > > > > On 9/14/06, Skip Tavakkolian <9nut@9netics.com> wrote: > >> *(main:a\D) > >> > >> /sys/doc/acid.ps > >> /sys/doc/acidpaper.ps > >> > >> > I am trying to learn how to use acid for source > >> > level debugging using the built-in functions. I waould like > >> > to know how to display/exmine the varibales used in the > >> > program. Sample code for context: > >> > void main() > >> > { > >> > int a, b, c; > >> > a = 12; > >> > b = 21; > >> > c = a + b; > >> > print("c: %d\n", c); > >> > exits(nil); > >> > } > >> > > >> > program is compiled and acid is called on the image: > >> > acid: new() > >> > .. > >> > acid: bpset(print) > >> > .. > >> > acid: next() > >> > .. > >> > at this point a = 12 has been executed. How to examine > >> > the value in acid? > >> > > >> > -ishwar > >> > >> > > >