[comp.sys.mac.programmer] MacsBug 6.2 wish

ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University) (01/15/91)

The macro feature in MacsBug 6.x is handy, but I wish the ATC
(A-Trap Clear) and BRC (BReak-point Clear) commands could be
enhanced just a little bit, to make macros more useful.

For example, I can set breaks on two different List Manager (_Pack0)
calls using the following commands:

	atb lnew
	atb lsetcell

"LNew" expands to "Pack0 SP^.W=#68" and "LSetCell" expands to
"Pack0 SP^.W=#88", and it all works rather nicely, as the part after
the trap name is taken as the condition for the breakpoint. And then I
come to try clearing one of them:

	atc lsetcell

and it says 1) it's cleared *both* the List Manager breakpoints, and
2) the command completed without using all the parameters. This is
because the break-clearing commands clear *all* breaks at the specified
location or A-trap, ignoring their conditional expressions.

What I'm asking for is, please, could the break-clearing commands allow
matching of conditions against those specified in the break-setting
commands? I'm not after any sophisticated matching of semantics of
equivalent boolean expressions, or anything like that: just a simple
string match against the original condition expression will suit me
just fine.

There, I knew you guys at Apple would listen...

Lawrence D'Oliveiro                       fone: +64-71-562-889
Computer Services Dept                     fax: +64-71-384-066
University of Waikato            electric mail: ldo@waikato.ac.nz
Hamilton, New Zealand    37^ 47' 26" S, 175^ 19' 7" E, GMT+13:00
To someone with a hammer and a screwdriver, every problem looks
like a nail with threads.