Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

seeking to watch instantiation

Status
Not open for further replies.

Neil23

Programmer
Dec 10, 2002
16
US
I'm making some modifications to a convoluted VFP6 system (ACCPAC Pro 6.5). It turned out that my method was crashing because it wasn't attached to the right object, so the variables weren't there.

But the object is something created on the fly at instantiation/initialization; I don't know where from. So I want to set a breakpoint at creation, when EXISTS changes from .F. to .T., to see where it is.

I haven't been able to find a way to do this.
It looks like PEMSTATUS( , ,5) ought to help, but I haven't been able to get it to work either. (That is, I put it into the Watch window in Debug, andit "could not be evaluated".)

How can I find where this is being instantiated to find out where to put my changes?

TIA,
Neil
 
Set a break point on "INIT" $ UPPER(PROGRAM())"

You'll pause for every init method, but just resume. Once you've found the right init, examine the call stack.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top