Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Debugger does not stop at breakpoints
Message
De
21/12/2004 15:59:52
 
 
À
21/12/2004 11:09:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
00971021
Message ID:
00971151
Vues:
20
Open your project up (modi proje) and press CTRL+J to view the project information. On the project tab, is the Debug Info checked?

>I've seen weird stuff with VFP but this is spooky!
>
>button subclassed to _button subclassed to deletebutton
>
>
>* Deletebutton.click
>Try
>   oRegret.Show(1)  && Do you really want to delete bla, bla...
>Catch
>   oRegret = CREATEOBJECT('Regret',This)
>   oRegret.Show(1)
>   * Clicking ok or cancel on oRegret hides oRegret and returns the
>   * deletebutton which has it's regret_it propery set to true or false
>   * (default)
>EndTry
>
>* Form's stdtoolbar.deletebutton.click
>DoDefault()
>If Not This.Regret_It
>   Select Reservations
>   Delete
>Endif
>
>
>also on the form is a savebutton, which does not save the data if the above code is present, which is weird in itself since I know that the record is in fact deleted, and it all works when I outcomment the code in the default Deletebutton.click.
>
>So I'd like to debug, but the debugger runs right past the breakpoints on the savebutton.
>
>
>*Savebutton.Click
>Thisform.SaveData()   && Breakpoint set here
>Flush
>Thisform.SetActiveObjects
>
>
>TIA
>
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform