Domino 9 und frühere Versionen > ND6: Entwicklung

Formelsprache Debuggen

(1/3) > >>

Thobz:
Hallo,

ich hab eine etwas ältere Anwendung, diese basiert zu 90 % auf der Formelsprache.
Diese muss ich nun etwas verändern, aufbohren etc.... !
Ich habe gerade von meinem Kollegen gehört das man unter der 5er Version noch die
Formelsprache Debuggen konnte, jetzt meine Frage :

Gibt es vielleicht Tools (Ytria oder so) mit denen man die Formelsprache debuggen kann ?


Gruß Thomas

klaussal:
Ohne Gewähr:


--- 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.
--- Ende Zitat ---

Thobz:
Danke,

das werde ich direkt mal Testen und hier mal berichten.

Thomas

Thobz:
Hallo,

mh also unter 6.5 bekomme ich kein Debugging hin :-(.

Thomas

gab:

--- Zitat von: Thomas Lobsien am 24.04.08 - 11:17:15 ---Hallo,

mh also unter 6.5 bekomme ich kein Debugging hin :-(.

Thomas

--- Ende Zitat ---

@statusbar  wäre noch eine Option, oder?

Evlt. noch gleich eine Abfrage einbauen, damit du die @statusbar Fragemente für die Produktivumgebung im Code belassen kannst, z.Bsp.

_debug := @if ( @environment(debugflag) = "1" ; @true, @false);

@if(_debug; @statusbar(""""); "")

-
Gabor

Navigation

[0] Themen-Index

[#] Nächste Seite

Zur normalen Ansicht wechseln