>In VFP 7, this works for me as long as the control has focus. As soon as you click on the debugger, you get the can't evaluate expression. Have you tried to change the debugger to show in the FoxPro window? It is under Tools\Options\Debugger.
Forget it: I got my problem solved. And thanks for your help.
However, in casy anybody is interested, I still use VFP 6 (sigh). But, showing the debugger in the VFP parent window does show the desired expression, as you state. I had misunderstood, kept the debugger in a separate window, but both visible, i.e., not maximized. This proved to be futile.
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)