Hello.

I have a simple test function from which I want to write some debug strings
to my virtuoso console, but I can not get it to work.

CODE: SELECT 
ALL<http://boards.openlinksw.com/phpBB3/viewtopic.php?f=21&t=5327#>create
procedure DB.DBA.TEST1()
{
  --pl_debug+
  declare x, y any;
  dbg_printf('\nStart function');
  x := 1;
  if (x = 1)
     {
       y := x + 3;
     }
   else
     {
       y := 2;
     }
   dbg_printf('\nValue:%d\n', y);
   return y-1;
}

I run cmd on windows 7 as administrator, run isql console interface and
call a test1() function. I get output with no debug strings. It looks like
this:
CODE: SELECT 
ALL<http://boards.openlinksw.com/phpBB3/viewtopic.php?f=21&t=5327#>c:>isql
localhost:1111 dba dba
sql:>select db.dba.test1();
test1
VARCHAR
-----------------------------------------------
3

1 Rows. -- 0 msec
sql>

Why is there no debug string? Am I doing something wrong?

Thank you.
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Virtuoso-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to