Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 9 Debugger Bug
Message
 
 
À
21/07/2005 14:03:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
01034735
Message ID:
01034805
Vues:
14
>>>The answer exist:
>>>escalade to a VC++ debugger
>>
>>I'm having a different problem with the debugger. If I run application, it works fine. But if I try to use debugger, and try to resume after stop, it gives me an error message: command can not be issued within transaction (REQUERY()). Why it is working without debugger? And how can I debug then?
>>
>>Thanks.
>
>Nadya, are you sure REQUERY() works w/o Debuger? HELP for BEGIN TRANSACTION in command NOT supported during TRANSACION REQUERY() is listed. may be you have some error hadler that hide this error.

Yes, that's the strangest part. If I run my form without Debugger, it doesn't produce an error and the record is saved correctly. But if I stop, then resume, it gives me an error. Perhaps, activating the debugger somehow triggers either page deactivate (or activate) or something else, I'm not sure. But it definitely makes my life miserable, because I need to debug one particular problem. I have an insurance page. When I add a new insurance, I first add Policy ID and save the record. The record is saved correctly. I then press a button and fill in Policy Holder Employer information without filling the Policy Holder info first. Then I press Save button and nothing happens. E.g. I don't see any error message, though I expect to see an error "Enter Policy Holder Name". I try to Debug from the Save method of the form. Unfortunately, I don't want it the first time, (after I save Policy ID, since I know, it works), so I press the Resume button. And viola, I get this error :( and then I have to kill VFP...
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform