Here what's happening. The debugger after issuing line 1 it skips to somewhere in function two and never shows that it executes line 2. or 3. although they do get executed.
function one
* code
1. lcSql = ""
2. lc_Sql = lc_str1 + ;
lc_str2 + ;
lc_str3 + ;
lc_str4 + ;
.
.
lc_str50
3. &lcSql
* more code
endfunc
function two
* code
endfunc
>Dan -
>If you have a multi-line command, that is one that shows like:
>
>lc_string = lc_str1 + ;
> lc_str2 + ;
> lc_str3 + ;
> lc_str4
>
>VFP sees that as one line and will not 'stop' on each line -- as you see it in the debugger. Again, to VFP the abive is one line.
>
>Hope this explains.
>
>
>>I've noticed that whenever I am building a multi-line string the debugger does not know how to handle it. It jumps a number of lines passed the next executing line. Some times that means it has jumped to the next function.
>>
>>Is this is a known issue? I assume it is. Also, is there a work around?
>>
>>TIA
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement