Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Debugger bug
Message
De
06/11/2013 14:27:38
 
 
À
06/11/2013 07:57:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 5
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01587352
Message ID:
01587441
Vues:
31
>>Hi All:
>>
>>I have the following annoying bug in the debugger: Sometimes the arrow stops a few lines before the actual line that it is executing, so that as I step thru the code, it is actually executing a few lines later. This makes debugging very frustrating. If this is a bug in 5.0, then there is nothing I can do. However, is there a solution to this?
>>
>>I even tried to completely rewrite the source code in case the file was somehow corrupted, but it did not help.
>>
>>As usual, the following: My client is using SBT 5.0 which runs under VFP 5.0, has no intention of upgrading and for the most part this is fine with me.
>
>I've seen this over the years and in many different versions. Typically, when I see it, it's the Debugger stopping on the line before the one where I have the breakpoint. I've never figured it out, just live with it.
>
>However, what you're describing isn't what I'm seeing. You seem to be saying that the arrow isn't pointing to the line of code it's executing. I see the arrow in the right place; it's just not stopping where I wanted it to.
>
>Tamar

The arrow is pointing 5 lines before the line that is about to be executed

So:
Line of code  <<=== debug arrow

Line of code
susp

lcVar1 = 'cat'   <<=== the debug arrow should be here
lcVar2 = 'dog'
In the above, the watch window shows lcVar1 and lcVar2 as undefined.

Now I press the step button and this is what happens:
Line of code  
                     <<=== debug arrow
Line of code
susp

lcVar1 = 'cat'   
lcVar2 = 'dog'  <<=== the debug arrow should be here
In the above, the watch window shows lcVar1 = 'cat' and and lcVar2 is undefined.

Yossi
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform