Mercurial > emacs
comparison man/building.texi @ 79263:e1394a662145
(Watch Expressions): Describe gdb-delete-out-of-scope.
author | Nick Roberts <nickrob@snap.net.nz> |
---|---|
date | Tue, 30 Oct 2007 05:54:58 +0000 |
parents | 25fa3be251af |
children | d80c84a0912f |
comparison
equal
deleted
inserted
replaced
79262:452dee639463 | 79263:e1394a662145 |
---|---|
1115 @code{font-lock-warning-face} to highlight values that have recently | 1115 @code{font-lock-warning-face} to highlight values that have recently |
1116 changed and @code{shadow} face to make variables which have gone out of | 1116 changed and @code{shadow} face to make variables which have gone out of |
1117 scope less noticeable. When a variable goes out of scope you can't | 1117 scope less noticeable. When a variable goes out of scope you can't |
1118 edit its value. | 1118 edit its value. |
1119 | 1119 |
1120 @vindex gdb-delete-out-of-scope | |
1121 If the variable @code{gdb-delete-out-of-scope} is | |
1122 non-@code{nil} (the default value), Emacs automatically deletes watch | |
1123 expressions which go out of scope. This is safest because GDB may | |
1124 think that a variable in a new frame is an old one that previously | |
1125 went of of scope. Sometimes, when re-entering the same function, | |
1126 it may be useful to set this value to nil so that you don't need to | |
1127 recreate the watch expression. | |
1128 | |
1120 @vindex gdb-use-colon-colon-notation | 1129 @vindex gdb-use-colon-colon-notation |
1121 If the variable @code{gdb-use-colon-colon-notation} is | 1130 If the variable @code{gdb-use-colon-colon-notation} is |
1122 non-@code{nil}, Emacs uses the @samp{@var{function}::@var{variable}} | 1131 non-@code{nil}, Emacs uses the @samp{@var{function}::@var{variable}} |
1123 format. This allows the user to display watch expressions which share | 1132 format. This allows the user to display watch expressions which share |
1124 the same variable name. The default value is @code{nil}. | 1133 the same variable name. The default value is @code{nil}. |