Audit trail

Questions and answers on designing your Servoy solutions, database modelling and other 'how do I do this' that don't fit in any of the other categories

Audit trail

Postby Morley » Fri Sep 17, 2004 5:09 pm

Is it possible to track each branch a complex method steps through? In effect I'm looking for an audit in text form I can examine.
Morley Chalmers
7Office Inc.
User avatar
Morley
 
Posts: 891
Joined: Fri Apr 25, 2003 4:54 pm
Location: Toronto, Canada

Postby ROCLASI » Fri Sep 17, 2004 5:25 pm

In the Editor (previously named Method Editor) you can let a script write any info to the Output tab at the bottom.
You use Application.output('any text you like or use field/global/variable contents')
When triggered the text "any text you like or use field/global/variable contents" will be added to the output field.

Hope this helps.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Postby Morley » Fri Sep 17, 2004 6:27 pm

ROCLASI wrote:In the Editor (previously named Method Editor) you can let a script write any info to the Output tab at the bottom.
You use Application.output('any text you like or use field/global/variable contents')
When triggered the text "any text you like or use field/global/variable contents" will be added to the output field.

Hope this helps.
I've been using that feature for quite some time.

What I'm looking for is a trace route. I have a suspicion some of my early code is going into some areas unnecessarily. Some of these routines are quite complex, well beyond peppering code with "Application.output".
Morley Chalmers
7Office Inc.
User avatar
Morley
 
Posts: 891
Joined: Fri Apr 25, 2003 4:54 pm
Location: Toronto, Canada

Postby jcompagner » Mon Sep 20, 2004 1:59 pm

there is no such thing in our javascript engine.
You have to debug (stepping through) or use Application.output() for that.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Programming with Servoy

Who is online

Users browsing this forum: No registered users and 34 guests

cron