When running my Program executable,I get an
error "operator/operand type mismatch"


So, I Ran my program in the debugger to find the "BUG" but
that Error doesn't come up.

What can I do to resolve this? How can I make that error
appear on my debugger, so i can debug it?

Re: Debugger by David

David
Mon Dec 01 18:07:42 CST 2003

Dan,

It sounds like it is a data or environmental (SET statements) difference
that is bringing out the bug. You don't say what version of FoxPro you are
using, but you should look at using an ErrorHandler that helps you at least
log what is happening. You can use ON ERROR and Error() methods in your
classes to trap the errors. LIST MEMORY and LIST STATUS to file will also
help you track this. Check out these Wiki articles

http://fox.wikis.com/wc.dll?Wiki~CategoryErrorHandling


--
df - Microsoft MVP FoxPro http://www.geocities.com/df_foxpro

"Dan" <dan71@hotmail.com> wrote in message
news:045301c3b858$8eaef790$a301280a@phx.gbl...
> When running my Program executable,I get an
> error "operator/operand type mismatch"
>
>
> So, I Ran my program in the debugger to find the "BUG" but
> that Error doesn't come up.
>
> What can I do to resolve this? How can I make that error
> appear on my debugger, so i can debug it?
>
>
>