View previous topic :: View next topic
|
Author |
Message |
Ramanan-R
New User
Joined: 21 Mar 2007 Posts: 66 Location: Chennai, Tamilnadu, India
|
|
|
|
Hi All ,
Can anyone advise how to debug ADSO dialogs. A document with debugging commands would be better.
Thanks in advance,
Regards,
Ramanan R |
|
Back to top |
|
|
g.gaurav
New User
Joined: 28 Jun 2007 Posts: 6 Location: Bangalore
|
|
|
|
Follow these commands:
DEBUG DEBUG DIAL <dailog name>
<It should say Debug fir the particualar dialog initaiated >
QUALIFY PROC <process name>
then u have to provide the SEQUENCE NO. for the corresponding dialog in the below manner:
AT #<sequence no>
it should say -----> <sequence no> added/modified then this number becomes ur BREAK POINT, if not means the given sequence doesn't belong to the process given in Qualified statement or given no is not the DML...
after that
EXIT
and run ur application....at ur break point of paricular process it will give u screen saying debugged at sequence no <sequence no>
then u can find the value of any element valid in that dialog like :
L '<element name>'
it will give you value in HEX format in left side & xact value in right side.
Lastly If u want to come out of Debug mode...Issue below command:
QUIT
thats ittttttt.......... |
|
Back to top |
|
|
g.gaurav
New User
Joined: 28 Jun 2007 Posts: 6 Location: Bangalore
|
|
|
|
hey 1 more thing....if u want to continue thru ur BREAK POINT then Issue a command :
RES
It will follow the normal execution & and If you want to include multiple break points...u can do that also either in 1 shot...or seperately... |
|
Back to top |
|
|
tosaurabh20
New User
Joined: 08 Jun 2007 Posts: 26 Location: Noida
|
|
|
|
g.gaurav wrote: |
hey 1 more thing....if u want to continue thru ur BREAK POINT then Issue a command :
RES
It will follow the normal execution & and If you want to include multiple break points...u can do that also either in 1 shot...or seperately... |
Hi Ramanan,
if your dialog is associated to a map, then you can easily debug it through Adsalive. It is tool through which you can animate the required processes of the dialog and can view line by line execution of it.
Or else you always have an option of using Xpeditor to debug.
Hope this helps.
Thanks
Saurabh |
|
Back to top |
|
|
mjshaheed
New User
Joined: 09 Apr 2007 Posts: 25 Location: Chennai,India
|
|
|
|
g.gaurav wrote: |
Follow these commands:
DEBUG DEBUG DIAL <dailog name>
<It should say Debug fir the particualar dialog initaiated >
QUALIFY PROC <process name>
then u have to provide the SEQUENCE NO. for the corresponding dialog in the below manner:
AT #<sequence no>
it should say -----> <sequence no> added/modified then this number becomes ur BREAK POINT, if not means the given sequence doesn't belong to the process given in Qualified statement or given no is not the DML...
after that
EXIT
and run ur application....at ur break point of paricular process it will give u screen saying debugged at sequence no <sequence no>
then u can find the value of any element valid in that dialog like :
L '<element name>'
it will give you value in HEX format in left side & xact value in right side.
Lastly If u want to come out of Debug mode...Issue below command:
QUIT
thats ittttttt.......... |
Hi Gaurav,
Can you please tell us where we have enter these DEBUG, QUALIFY and AT#? Do we need to enter these commands in IDD? If possible can you explain with an example?
Thanks,
shahul |
|
Back to top |
|
|
Ramanan-R
New User
Joined: 21 Mar 2007 Posts: 66 Location: Chennai, Tamilnadu, India
|
|
|
|
Thanks Gaurav and Saurabh....
1. Can we view the list of breakpoints
2 How do we remove a breakpoint.
Do we have commands for the above?
Thanks,
Ramanan R |
|
Back to top |
|
|
anilbatta
New User
Joined: 13 Nov 2005 Posts: 22
|
|
|
|
Hi Ramanan,
I understood the requirement but i can give you a suggestion that using ADSALIVE you can debug the dialogs because ADSALIVE used to execute the code line by line and then traces the errors if any.
Please talk to your supervisor or manager to have this application.
Let me know if you need any more info on this.
Regards
Anil |
|
Back to top |
|
|
|