Presumably this is FoxPro 2.x You need to build the EXE with debugging information, and save generated code. Open up the project, then from the 'Project' option at the top menu select 'Options', and the options are in there.
What I tend to do is do the above, then put a SET STEP ON in the code at the point you want to start tracing, but include a SET PATH to the folder with the SOURCE code in it as well, like this: set path to c:\dev\foxdev2x\myproject set step on Then when the SET STEP ON hits it will look for source code for the currently executing program, and find it in the location SET PATH is pointing to. _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

