[comp.sys.mac.programmer] LSC 3.0 Debugging problem

mkent@dewey.soe.berkeley.edu (Marty Kent) (02/27/89)

I'm having a problem with the LSC 3.0 debugger - while stepping through
code, when I get to a certain quite simple statement of the form
	"if (var) ptr->member = var;"
the debugger says "illegal instruction" and refuses to do anything else. I
can't even get the Monitor command to work! Running under MultiFinder, I
can move to other applications etc. but can't do anything with the
debugger - in fact Shutdown fails and I have to turn the machine off by
hitting the power switch!

Is this a bug in the debugger?  Any suggestions, anyone??


Marty Kent  	Sixth Sense Research and Development
		415/642 0288	415/548 9129
		MKent@dewey.soe.berkeley.edu
		{uwvax, decvax, inhp4}!ucbvax!mkent%dewey.soe.berkeley.edu
Kent's heuristic: Look for it first where you'd most like to find it.

siegel@endor.harvard.edu (Rich Siegel) (02/27/89)

In article <28209@ucbvax.BERKELEY.EDU> mkent@dewey.soe.berkeley.edu (Marty Kent) writes:

>	"if (var) ptr->member = var;"

	It's possible that "ptr" has a bad value, so the assignment is
smashing some part of useful memory. The Data window may come in handy here.

		--Rich



Rich Siegel
Staff Software Developer
THINK Technologies Division, Symantec Corp.
Internet: siegel@endor.harvard.edu
UUCP: ..harvard!endor!siegel
Phone: (617) 275-4800 x305