Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RETURN of the cursor object reference
Message
De
02/06/2002 04:54:56
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
RETURN of the cursor object reference
Divers
Thread ID:
00663850
Message ID:
00663850
Vues:
50
Hi All,

By looking for a bug in my application (MM 7.0), I introduced a 'set step on' command in the BizObject's GetDataAccessObject() method to do some investigation.
In this method, the following command can be found:

loDataAccess = This.oDataEnvironment.GetCursorObject(tcAlias)

I found out that when it executes, the GetCursorObject method of the
oDataenvironment executes without any problem: When it reaches the end
and the last command 'RETURN loCursorX' has to be executed, loCursorX is still a real object reference.

When the program control is returned to the calling GetDataAccessObject method however, all of a sudden, the loDataAccess has become a NULL
When I then removed the 'set step on' command, there was no problem anymore.
This made me think that running the debugger at that point influenced
memory space or something like that.
It looks as if I 'm missing something fundamental here.
Can someone help me on this?


Mark
If everything seems to be going well, you obviously don't know what the hell is going on !
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform