>>
>>Debugging a private datasession form can be a real challenge (see above about the debugger). You really have to watch where you leave the mouse pointer, as it MAY change rather unexpectedly! Do you have the debug window in it's own frame or is it part of VFP's?
>
>It's in it's own frame....
That's the way I use it, too. Are you sure you're not calling some external piece of code before you look at the current datasession? How are you displaying the datasession? If you have any WAIT WINDOWS, they'll also change the datasession back to default.