Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Maybe useful for debugging?
Message
From
22/01/1999 18:03:50
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00178975
Message ID:
00179282
Views:
22
>I never realized this before but I found something useful by accident. All my previous projects automatically had SET STATUS BAR ON in the apps environment class. When I needed more screen space, I SET STATUS BAR OFF. Well, holy cow! Now, when I run my app and open any form, all the detail status info. appears on the screen. Info. such as the time it took to open my views, status of the triggers that were run, etc. Great for quick debugging and benchmarking my app.

That's the way to mimic the habits of older versions of Fox, when you had Set Talk On, and all the output went directly to the screen, including the result of any assignment statement. Sometimes it's good for debugging, but now when you have the values of things available as tooltips in the trace window, it's not a good practice anymore. It will mess up your forms if you have an active one - the output will go there and your controls will scroll up, until some of them gets refreshed. Then the output will resume just to the right of it, overwriting (partially) the previous output, and creating a mess in general.

Benchmarking - it's no good either, because it forces your screen or form to scroll, which is one of slowest things you may do with VFP.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform