[comp.sys.mac.programmer] MacsBugging under MultiFinder: a tip

ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University) (11/07/90)

If you're fed up of breaking into the debugger under MultiFinder
and finding yourself looking at the wrong application heap, here's
a handy trick:

Make sure the application you're interested in is frontmost, and hold
down the mouse button over the menu bar (it doesn't have to be over
a menu) while you reach with your other hand to press the
interrupt button. The application will be sitting in the call to
MenuSelect, and no other application will have a chance to run.

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
"How could you tell they were sergeants' quarters?"
"There were ten huts."

lsr@Apple.com (Larry Rosenstein) (11/08/90)

In article <2225.2737d86c@waikato.ac.nz>, ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University) writes:
> 
> If you're fed up of breaking into the debugger under MultiFinder
> and finding yourself looking at the wrong application heap, here's
> a handy trick:

Another trick is to do:

  atb MenuSelect ';t'

in Macsbug.  This will break when you click in the menu bar, trace over the
menu selection and stop when you release the button.

Larry