Skip to main content

Debugging

COMPARE_TIME_FUNCTION

compare_time_function(Real base, Charstring msg, Charstring fn, Vector args, Integer times)
STABLE

No description.


COMPARE_TIME_QUERY

compare_time_query(Real base, Charstring text, Charstring query, Integer times) -> Real
STABLE

No description.


LEAKS

leaks(Charstring, Vector args) -> Record leaks
STABLE

No description.


PP

pp(Object o) -> Charstring
STABLE

Pretty print object o into a string


PRINT

print(Object o)
STABLE

Print object o on console


print_to(Bag b, Charstring file)
STABLE

Print object o to file


PROFILE

profile()->Vector of (Charstring, Number)
STABLE

return statistical profile as Vector of pairs [fnname,percentage]


PROFILING

profiling(Charstring action) -> Charstring
STABLE

Control statistical profiling by action:

 on: turn on statistical profiling of OSQL functions
all: turn on statistical prifiling of OSQL and Lisp
off: turn off statistical profiling
clear: clear collected samples
print: print percentage time spent in functions

TEST_SERVER_CONNECTION

test_server_connection( ) -> Bag of Charstring msg
STABLE

No description.


TIME_FUNCTION

time_function(Charstring msg, Charstring fn, Vector args, Integer times) -> Real
STABLE

The time spent to call the OSQL function fn with arguments args

 `n` times. The systen will print a message `msg` and the total time on 
the console. The result is the time spent per call

TIME_QUERY

time_query(Charstring text, Charstring query, Integer times) -> Real
STABLE

No description.


TRACE

trace(Charstring fn) -> Function
STABLE

Trace function named fn.

 Derived functions cannot be traced! 

UNTRACE

untrace(Charstring fn) -> Function
STABLE

Untrace function named fn