Das Notes Forum

Domino 9 und frühere Versionen => Entwicklung => Thema gestartet von: klaussal am 25.11.02 - 10:57:24

Titel: debugger formelsprache
Beitrag von: klaussal am 25.11.02 - 10:57:24
moin moin,

a n g e b l i c h  soll es einen debugger für die formelsprache unter R5 geben (einstellung notes.ini ?).
wer weiss etwas darüber ?? ???
Titel: Re:debugger formelsprache
Beitrag von: Axel am 25.11.02 - 11:00:12
Hi,

das hab ich im Web gefunden:

Zitat
This is an undocumented feature and would be very handy for Notes developers.
It's a "formula debugger". You can activiate this by holding down the CTRL+SHIFT keys and going to the menu and selecting File-Tools-Debug LotusScript. To turn it off, just repeat the same steps. You won't see a check mark or any indication of its activation in the menu, But when you go into a database and choose an action that uses formula code, a debugging window will pop up similar to the LotusScript debugger.
The top half of the panel displays your formula code with the returned values in the bottom half of the screen. You can step through your code.
It's really handy and for debugging formula you don't have to keep creating multiple @Prompts in the code.
Also, because these techniques are undocumented, use them at your own risk.

Axel
Titel: Re:debugger formelsprache
Beitrag von: klaussal am 25.11.02 - 11:02:05
DANKE !!  :-*
Titel: Re:debugger formelsprache
Beitrag von: Rob Green am 25.11.02 - 11:05:23
achte auf das kleingedruckte: use them at your own risk
Also save early save often, denn es wird nach meinen leidlichen Erfahrungen mehr zu Abstürzen (RedScreens) als zu Erfolgen führen. Hatte mich anfangs auch darüber tierisch gefreut, heute net mehr  :'(
Titel: Re:debugger formelsprache
Beitrag von: Don Pasquale am 25.11.02 - 11:08:08
So ist es !

Eine minute genutzt, sofort absturz !

ciao
Don Pasquale
Titel: Re:debugger formelsprache
Beitrag von: klaussal am 25.11.02 - 11:09:20
die red-screens bekomme ich auch ohne debugger.
fazit: er wird nur eingesetzt, wenn es gar nicht anders mehr geht. ;D
Titel: Re:debugger formelsprache
Beitrag von: Rob Green am 25.11.02 - 11:11:33
das klassische Debugging mit @Prompt Meldungen kennst Du ja? Das klappt immer und überall.
Titel: Re:debugger formelsprache
Beitrag von: klaussal am 25.11.02 - 11:15:02
hi rob,
kenne ich, aber das klappt auch nicht immer . . . . . . . . . . . :o
Titel: Re:debugger formelsprache
Beitrag von: Rob Green am 25.11.02 - 11:16:29
hast Du ein dediziertes Prod igendwo oder meinste allg. ?
Titel: Re:debugger formelsprache
Beitrag von: klaussal am 25.11.02 - 11:20:02
hi rob,
ich meinte allgemein.
habe mal kurz den debug-tipp ausprobiert.
bis jetzt kein absturz. aber was nicht ist, kann ja noch kommen. . . .
Titel: Re:debugger formelsprache
Beitrag von: harkpabst_meliantrop am 25.11.02 - 15:50:33
Auch in R6 gibt's übrigens keinen offiziellen Formelsprachendebugger. :(

Aber ehrlich gesagt, sind mir Köstlichkeiten wie Schleifen, der direkte Zugriff auf Listenelemente über den Index, Formeln zur Berechnung des aktuellen Feldwerts und -namens und ein @Eval auch bedeutend wichtiger...
Titel: Re:debugger formelsprache
Beitrag von: Christopher am 27.11.02 - 13:09:35
Hier ist mal eine DB zum Formeltesten :-)