>Is there some way to tell if the debugger is being run?
>
>I.e. I want something that in pseudocode would look like..
>
>IF THE CODE IS BEGIN RUN THROUGH THE DEBUGGER
> DO THIS
>ELSE
> DO THIS
>ENDIF
>
>
>THANKS!!!!
I don't find an intrinsic VFP property, although there might be a way. As a workaround, you could define (and change, appropriately) your own variable. Since variables have an unpleasant property of dissapearing, you may prefer to have a file on disk, as a "flag", and check for its existence.
if file("debugflag.txt")
...
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)