Path: utzoo!utgpu!water!watmath!clyde!att!ucbvax!husc6!endor!singer From: singer@endor.harvard.edu (Rich Siegel) Newsgroups: comp.sys.mac.programmer Subject: Re: LSC 3.0 "Context" + Passing parameters Keywords: LSC, THINK, Context, Debugger Message-ID: <5008@husc6.harvard.edu> Date: 23 Jul 88 18:22:37 GMT References: <3653@bnrmtv.UUCP> Sender: news@husc6.harvard.edu Reply-To: singer@endor.UUCP (Rich Siegel) Distribution: na Organization: Symantec/THINK Technologies, Bedford, MA Lines: 33 In article <3653@bnrmtv.UUCP> west@bnrmtv.UUCP (andrew west) writes: > When you want to display a variable in the data window, you must > click on a line in your source which contains that variable and > then type the variable name (does cut/paste work?) in the data > window. According to the LSC 3.0 manual, this gives the debugger a > "context" in which to evaluate the variable. Consult page 140 of the manual a bit more closely: "The debugger compiles the expressions you enter in the context of the selected line in the Source window, or, if you haven't selected a line, within the context of the current statement." Evaluation of expressions: (page 142): "The debugger re-evaluates the expressions in the data window every time your program stops. Expressions whose context isn't in the current function are not re-evaluated unless they have global scope [that is, the expression refers to "static" or global storage --RS]. --Rich Rich Siegel THINK Technologies Rich Siegel Quality Assurance Technician THINK Technologies Division, Symantec Corp. Internet: singer@endor.harvard.edu UUCP: ..harvard!endor!singer Phone: (617) 275-4800 x305