Cindy,
Not quite. For example:
If a function is defined as below, you will find that the rest of the function will be off by 1 line for the remainder of the function. When you are debugging the function, the debugger will be pointing at the blank space before the j = 1 line but is actually executing the j = 1 line. When you step, it will point at the j = 1 line but is really executing the k = 2 line.
Function Foo(a, b, ;
c, d)
j = 1
k = 2
If the Function line is changed to be:
Function Foo(a, b, c, d)
you will not notice any debugger line offsets.
Hope this helps...
Todd
>Todd,
>
>When a program statement is continued on another line the debugger treats the whole thing as one statement and points to the last line of the continued program statement.
>
>Is this what you're referring to?
>
>
>>What I noticed though through more testing/debugging was that the executing line pointer in the debugger is off when the FUNCTION line has ; at the end for continuation of paramters. So, if you have 1 additional line of parameters, the debugger is off by 1 line. If 2 additional lines... you get the idea.
>>
>>Hopes this helps you.
>>
>>Todd
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