dbTalk Databases Forums  

Help Universe DEGUG

comp.databases.pick comp.databases.pick


Discuss Help Universe DEGUG in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
mdsi2000
 
Posts: n/a

Default Help Universe DEGUG - 01-23-2007 , 11:36 AM






Hello Group,

I'm trying to DEBUG a SUBROUTINE in Universe NT v.10. I step throu the
program using S and displaying local variables using SAMPLE/,STRING: T
r L=12 `003437303542' (No problems).

The problem that I have is when a variable comes from the EQUATE at the
beginning of the SUBROUTINE.

ex.

EQU ANS1 TO PARAM(1) (Will not display the data 'Symbol not
found'.)

PS. I can't use RAID on a SUBROUTINE. I get the following error 'Cannot
RUN a subroutine that has arguments.'

What can I do the view the data in ANS1?

Thanks for your help,

Peter


Reply With Quote
  #2  
Old   
Chuck
 
Posts: n/a

Default Re: Help Universe DEBUG - 01-23-2007 , 12:11 PM






Quote:
EQU ANS1 TO PARAM(1) (Will not display the data 'Symbol not > found'.)
so true! you have to call it "PARAM(1)" when talking to RAID.
I'm sorry.

By the way, in recent releases of UV they now let us examine
individual elements of a dynamic array:
e.g.: CUST.REC<30,6,2>/
That's nice, but I digress.


Quote:
PS. I can't use RAID on a SUBROUTINE. I get the following error 'Cannot
RUN a subroutine that has arguments.'
You need a harness that you can run and fill in the input arguments.
RAID that.
Or for complicated cases, stick DEBUG statement in the sub or right
before the call you care about & run the program that normally calls
it.


Quote:
What can I do the view the data in ANS1?
the command is "PARAM(1)/" Likewise to assign a new value ("!"
comand), or setting breakpoints.
E.g.:

:: PARAM(1)/
STRING: T r L=4 `'NO''
:: PARAM(1)!'YES'
PARAM(1) was STRING: T r L=4 `'NO''
. Now is STRING: T r L=5 `'YES''
::


Have you tried the UniDebugger on the UV client CD? Last fall's IBM
conference had a really slick demo of a pgmr tool they are developing,
but it was definitely not even beta yet. It includes a debugging
interface, completely separate from unidebugger. The s/w engineer
was wanting feedback & took suggestions. I believe the EQU irritant
was mentioned. But that doesn't help today, does it?

cds



Reply With Quote
  #3  
Old   
mdsi2000
 
Posts: n/a

Default Re: Help Universe DEBUG - 01-23-2007 , 01:07 PM



Chuck,
Thanks for the info on the disadvantage of using the native DEBUG of
Universe. I'm always using Accuterm and don't think I can use 3rd party
debugging tools with it. I'll have to rethink the way I debug from now
on.


Peter



Chuck wrote:
Quote:
EQU ANS1 TO PARAM(1) (Will not display the data 'Symbol not > found'.)

so true! you have to call it "PARAM(1)" when talking to RAID.
I'm sorry.

By the way, in recent releases of UV they now let us examine
individual elements of a dynamic array:
e.g.: CUST.REC<30,6,2>/
That's nice, but I digress.


PS. I can't use RAID on a SUBROUTINE. I get the following error 'Cannot
RUN a subroutine that has arguments.'

You need a harness that you can run and fill in the input arguments.
RAID that.
Or for complicated cases, stick DEBUG statement in the sub or right
before the call you care about & run the program that normally calls
it.


What can I do the view the data in ANS1?

the command is "PARAM(1)/" Likewise to assign a new value ("!"
comand), or setting breakpoints.
E.g.:

:: PARAM(1)/
STRING: T r L=4 `'NO''
:: PARAM(1)!'YES'
PARAM(1) was STRING: T r L=4 `'NO''
. Now is STRING: T r L=5 `'YES''
::


Have you tried the UniDebugger on the UV client CD? Last fall's IBM
conference had a really slick demo of a pgmr tool they are developing,
but it was definitely not even beta yet. It includes a debugging
interface, completely separate from unidebugger. The s/w engineer
was wanting feedback & took suggestions. I believe the EQU irritant
was mentioned. But that doesn't help today, does it?

cds


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.