Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing Debugger Closes VFP ???
Message
De
26/06/2002 18:29:01
 
 
À
26/06/2002 15:38:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00672642
Message ID:
00672718
Vues:
13
This message has been marked as a message which has helped to the initial question of the thread.
Gary,
I see Sergey's tip fixed your problem. Here's what I've been using. A bit less radical than deleting the entire resource file and usually fixes problems related to the debugger. I realize it's too late, but maybe next time ;-)
*  Program...........: CLEARESO.PRG
*  Author............: Daniel Gramunt
*  Created...........: 05.02.1999  12:08:39
*) Description.......: Deletes any references to the debugger from the
*)                   : resource file. This might be one of the potential source
*)                   : of the annoying C00000005 Fatal error
*  Calling Samples...:
*  Parameter List....:
*  Major change list.:
*--------------------------------------------------------------------------------------------------
LOCAL lcReso
lcReso = SYS(2005)

SET RESOURCE OFF
USE (lcReso) EXCLUSIVE

DELE ALL FOR id = "F_DBGWINDOW"
DELE ALL FOR id = "DBGFRAMEM"
DELE ALL FOR id = "DEBUGGER"
DELE ALL FOR id = "DBGFRAMEM"
DELE ALL FOR id = "BPOINTS"
DELE ALL FOR id = "WATCHEXPR"
DELE ALL FOR id = "TTOOLBAR" AND name = "Debugger"
PACK

USE

SET RESOURCE ON
SET RESOURCE TO (lcReso)
FWIW, I had very frequent crashes related to the debugger with VFP6, but haven't had to use this code since I've switched to VFP7.

HTH
>Hi!
>
>I don't know what I have done in the IDE today but for some strange reason, when I am in the debugger (in the debug frame) and I click the debugger's window close button [x], not only does the debugger close but so does VFP.
>
>It has only started today after I hit some incorrect key sequence (I think). Also, whilst trying to figure out what was going on, I set up the debugger in the Foxpro Frame but everytime I tried to step through a line of code, the debugger ran hundreds of lines of code from somewhere between each step.
>
>I don't know what I have done. Any ideas ?
>
>Help!
>
>Best
Daniel
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform