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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using the VFP Debugger

Status
Not open for further replies.

fmoore0001

Programmer
Dec 3, 2002
192
US
Guys, I have never been a big user of the VFP debugger, but I want to use it more. I am more familar with the old Clipper debugger, which I found very useful.

Is there some suggestions on using it in a test program, how to start the trace window, close it on the fly, etc. Maybe a FAQ sheet?

Frank
 
Hi Frank,

I think this is probably too large a question to be dealt with easily here.

I did a Google search and found this link:

You can also get a lot of help from the Fox Wiki:- and type vfpdebugger in the search box top right.

Hope those help,

Stewart
 
Actually, maybe I am asking too much. Let me describe.

I am in a form, in a method called SAVE.

1) I want the debugger to start, with the trace window.

2) I want to step through the method line by line and see what is happening.

So, what command do I put at the start of the method to open the debugger and the trace window. So far I have failed with DEBUG and the rest. Can't figure what I am doing wrong.

Frank
 
So, what command do I put at the start of the method to open the debugger and the trace window.

Try:
Code:
DEBUG
SUSPEND

The debugger should appear, and execution should stop. Use the toolbar to step thorough,etc. When you want to continue running the program, press the "Play" button in the debugger, or close the debugger and type "RESUME"enter at the command prompt.
 
fmoore0001

The first method that kicks in when a form is instanciated in the Load method, just put a Break Point to allow you to step through the code from there. Select the line you wnat to start at and use F9 (which will put a red dot in the margin) and strat your form, and the debugger will open up at that break point.

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top