Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Feature is not available
Message
 
To
29/12/1999 13:35:12
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, United States
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00309919
Message ID:
00310149
Views:
25
Although I concur with the rightclick-set breakpoint method, I have created a little program called stop.prg. Here is the code:
IF VERSION(2)<>0
KEYBOARD '{SHIFT-F7}'
SET STEP ON
ENDIF

RETURN

Because I only ship .exe's to my clients, the code in the IF-statement is only run during development.
I use the Shift-F7 to get back to the call to STOP() not the SET STEP ON in STOP().

As you guessed, this program is called with:
STOP()

And no client will ever see the 'feature not available' from this prg.

Regards,
Frank


>>You should get out of the habit of SET STEP ON. A much better solution is to right-click on the line of code in the edit and select Set Breakpoint from the shortcut menu. It will not carry through to runtime.
>
>I do this, too. The problem is that it doesn't always stop where I want it to, and doing it this way means I have to keep the debugger open until I get to my breaking point. This slows down execution and I don't always have the patience to wait.
Frank Camp
Previous
Reply
Map
View

Click here to load this message in the networking platform