T.R | Title | User | Personal Name | Date | Lines |
---|
869.1 | | ADA9X::BRETT | | Fri Mar 07 1997 08:05 | 11 |
| another 1+ would be to echo the original expression instead of the quickly
boring boilerplate...
watch (¤t_needed_db)
[3] Contents of 0x14017460..0x14017467 (¤t_needed_db)
written at $pc 0x245e04b8
Old value = 336136408 0x140908d8
New value = 0 0x00000000
|
869.2 | Thanks for adding "watch" - it's wonderful! | WIDTH::MDAVIS | Mark Davis - compiler maniac | Fri Mar 07 1997 13:59 | 0 |
869.3 | | TLE::MURRAY | Wanfang Murray | Fri Mar 07 1997 17:34 | 5 |
|
The suggestions sound good. We will add them for future enhancement.
Wanfang
|
869.4 | | RDGENG::HAQUE | Shaheed R. Haque, 830-3531, reo2-f/b3 | Fri Mar 07 1997 18:22 | 4 |
|
>watch (address) is great!
Is this supposed to be in 4.0-30?
|
869.5 | | DECCXL::OUELLETTE | crunch | Fri Mar 07 1997 18:44 | 2 |
| Hallway scuttlebutt is that it's in 4.0-31.
Bevin gets an early copy since he's working on dst info with the ladebug team.
|
869.6 | Can "stopi var" also use new implementation? | STEVEN::hobbs | Steven Hobbs | Tue Mar 11 1997 14:01 | 25 |
| I do not yet have access to a decladebug with the new watch command
but I am interested in why we chose a new command name. On other Unix
systems that I have used, I have executed the dbx command
stopi current_need_db
where decladebug requires
watch (¤t_need_db)
Or I have used
stopi *(long*)(0x14017460)
where decladebug is using the slightly better syntax of
watch (0x14017460)
Now I know that different Unix dbx systems choose differing
implementation techniques for stopi and I know that decladebug's
choice for a stopi implementation has not been useful for my debugging.
I.e., Other Unix systems have conditioned me to use stopi to find
memory corruptions because this command works on other systems but my
conditioning has not helped me when I migrated to decladebug. Is there
any reason why decladebug cannot use the more standard stopi command
to access the better implementation techniques used by the nonstandard
watch command?
Having the standard stopi command work as well or better than that
command on competing systems would make it easy for Unix programmers
to migrate their debugging skills to Digital Unix.
|
869.7 | | TLE::MURRAY | Wanfang Murray | Tue Mar 11 1997 17:20 | 9 |
|
Well, there is no statndard dbx commands. Sun's uses stop watch command.
The current stopi command has its own purpose even though it's a slow
implementation. We have the similiar discussion among ourselves during
the spec time too. We chose to go with watch command for clarity.
Wanfang
|
869.8 | | DECC::MJHANS | Matthew Hanselman, DEC C/C++ | Fri Mar 14 1997 17:31 | 8 |
| I remember seeing a sign in an Ann Arbor post office
"Everybody remembers when I'm wrong,
but nobody remembers when I'm right"
The watch command is extremely useful. Tons of thanks for adding it.
- Matt
|