ssc1478 | 1 Mar 2012 17:26
Gravatar

SEP debugger in RDp

(Reposting to proper group)

In the SEP debugger in RDp, if I am getting authority errors which
prevents me from debugging at all.

I have a pgm that I compiled that uses production pgms/srvpgms which I
don't have debug authority to.  Usually, that means I can't step into
the pgm/srvpgm which is fine. I only want to debug the one I compiled.

I can't do that with the SEP debugger.  If I don't have authority to
all the pgms/srvpgms, it doesn't let me debug at all.

Is this the way it works?  Or is there a setting I can set?

Thanks for the help!

Phil
--

-- 
This is the Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries 
(WDSCI-L) mailing list
To post a message email: WDSCI-L <at> midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request <at> midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.
Tarr, Kenneth | 1 Mar 2012 17:33

Re: SEP debugger in RDp

Start with a technical question...SEP Debugger = the Debug Perspective?

If so...you will want to add your program as the only program in the Debug Configuration list, and make sure
the Step Into checkbox is checked.  Once that program comes up in the debug view, as you are stepping through
and come upon a program you can't step into due to authority issues, use the Step Over button (also F6 on your
keyboard).  I think that'll do it.  It will limit you on some features such as the animated step into, but
hopefully it will help you get the job done.

 -- Ken

-----Original Message-----
From: wdsci-l-bounces <at> midrange.com [mailto:wdsci-l-bounces <at> midrange.com] On Behalf Of ssc1478
Sent: Thursday, March 01, 2012 10:26 AM
To: Websphere Development Studio Client for iSeries
Subject: [WDSCI-L] SEP debugger in RDp

(Reposting to proper group)

In the SEP debugger in RDp, if I am getting authority errors which
prevents me from debugging at all.

I have a pgm that I compiled that uses production pgms/srvpgms which I
don't have debug authority to.  Usually, that means I can't step into
the pgm/srvpgm which is fine. I only want to debug the one I compiled.

I can't do that with the SEP debugger.  If I don't have authority to
all the pgms/srvpgms, it doesn't let me debug at all.

Is this the way it works?  Or is there a setting I can set?

(Continue reading)

ssc1478 | 2 Mar 2012 14:16
Gravatar

Re: SEP debugger in RDp

On Thu, Mar 1, 2012 at 11:33 AM, Tarr, Kenneth
<Kenneth.Tarr <at> associatedbank.com> wrote:
> Start with a technical question...SEP Debugger = the Debug Perspective?
>
> If so...you will want to add your program as the only program in the Debug Configuration list, and make sure
the Step Into checkbox is checked.  Once that program comes up in the debug view, as you are stepping
through and come upon a program you can't step into due to authority issues, use the Step Over button (also
F6 on your keyboard).  I think that'll do it.  It will limit you on some features such as the animated step
into, but hopefully it will help you get the job done.
>

Ken,

Thanks for the reply.

Yes, that's how I expect it to work.  However, if there is a *SRVPGM
that I only have *USE authority to that is used by the *PGM I am
debugging with SEP debugger, as soon as RDp switches to the debug
perspective I get an error window that says "Server: CPF9802 Not
authorized to object <srvpgm> in <library>"

The *PGM itself runs to completion.  It does not stop at any
breakpoints I set.  I'm sure this worked in RDi v7 because I used to
debug a lot.

In the green screen debugger STRDBG, it functions properly.

My version is:
IBM Rational Developer for Power Systems Software
5724-Y99, 5733-RDG, 5733-RDH, 5733-RDJ, 5733-RDC
(Continue reading)

Xuan Chen | 2 Mar 2012 16:38
Picon

Re: SEP debugger in RDp


Just want to confirm with you...

If you use SEP, you got the error message.
How about if you just right click on the program and choose Debug as ->
Batch?  Does it work or not?

And please also make sure this checkbox is unchecked:
Preferences -> Run/Debug -> IBM i Debug -> Include bound service program
when installing source breakpoints.

Thanks,

Xuan Chen,  Problem Determination Tools for IBM i
(905) 413-3769 T/L 313-3769
xuanchen@...

                                                                           
             ssc1478                                                       
             <ssc1478@...>                                             
             Sent by:                                                   To 
             wdsci-l-bounces <at> m         "Rational Developer for IBM i /     
             idrange.com               Websphere Development Studio Client 
                                       for	System i & iSeries"           
                                       <wdsci-l@...>              
             02/03/2012 08:16                                           cc 
             AM                                                            
                                                                   Subject 
                                       Re: [WDSCI-L] SEP debugger in RDp   
             Please respond to                                             
(Continue reading)

ssc1478 | 2 Mar 2012 16:47
Gravatar

Re: SEP debugger in RDp

On Fri, Mar 2, 2012 at 10:38 AM, Xuan Chen <xuanchen@...> wrote:
>
>
> And please also make sure this checkbox is unchecked:
> Preferences -> Run/Debug -> IBM i Debug -> Include bound service program
> when installing source breakpoints.

Thank you,  Thank you!  This is what I needed.  Its working now.

Phil
--

-- 
This is the Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries 
(WDSCI-L) mailing list
To post a message email: WDSCI-L@...
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@...
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.

Dave | 7 Mar 2012 10:43
Picon

subfiles in screen designer

Hi,

How can one work on the subfile record while visualising the control record
or vice versa?
Meanwhile, it's back to SDA.
--

-- 
This is the Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries 
(WDSCI-L) mailing list
To post a message email: WDSCI-L@...
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@...
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.

Mike Hockings | 7 Mar 2012 16:56
Picon

Re: subfiles in screen designer

Try designing screens rather than just records?

http://www.ibmsystemsmag.com/ibmi/developer/websphere/Using-Screen-Designer/

Mike

Mike Hockings, P.Eng.
IBM Rational Developer for System z and Power Technical Support
IBM Canada Ltd. Laboratory 
hockings@... 
voice 1-905-413-3199 T/L 313-3199  ITN 23133199

From:   Dave <dfx1@...>
To:     "Rational Developer for IBM i / Websphere Development Studio 
Client for      System i & iSeries" <wdsci-l@...>, 
Date:   03/07/2012 04:43 AM
Subject:        [WDSCI-L] subfiles in screen designer
Sent by:        wdsci-l-bounces@...

Hi,

How can one work on the subfile record while visualising the control 
record
or vice versa?
Meanwhile, it's back to SDA.
--

-- 
This is the Rational Developer for IBM i / Websphere Development Studio 
Client for System i & iSeries  (WDSCI-L) mailing list
To post a message email: WDSCI-L@...
To subscribe, unsubscribe, or change list options,
(Continue reading)

Maha Masri | 7 Mar 2012 17:15
Picon

Re: subfiles in screen designer


Also this is a great video that may help: Using Screen Designer to generate
source (Flash with audio)

Thanks,
__________________________________________
Maha Masri
Release Lead, Rational Developer for Power Systems Software
IBM Canada Lab, 8200 Warden Ave, Markham, ON, L6G 1C7
Phone: (905) 413-4154 Tie-line: 313-4154
Email: masri@...

|------------>
| From:      |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |Mike Hockings/Toronto/IBM <at> IBMCA                                                                                                                   |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To:        |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |Rational Developer for IBM i / Websphere Development Studio Client for	System i & iSeries
<wdsci-l@...>                                 |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date:      |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |03/07/2012 10:58 AM                                                                                                                               |
(Continue reading)

Paul Bailey | 7 Mar 2012 17:56
Picon
Favicon

Re: subfiles in screen designer


Hi,

I didn't understand the other answers to your question, so perhaps I have misunderstood your question, but
on the RDP screen designer there is a groups of small icons just below the list of records. The one on the left
is named "Draw records transparent". The only effect this has had on my screen is to show the subfile
records or subfile control in a "greyed out" format while I am viewing the other type. This allows me to see
the column headings while dealing with subfile records, and vice versa.

Paul.

-----Original Message-----
From: wdsci-l-bounces@...
[mailto:wdsci-l-bounces@...] On Behalf Of Dave
Sent: 07 March 2012 09:43
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries
Subject: [WDSCI-L] subfiles in screen designer

Hi,

How can one work on the subfile record while visualising the control record or vice versa?
Meanwhile, it's back to SDA.
--
This is the Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries 
(WDSCI-L) mailing list To post a message email: WDSCI-L@... To
subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@...
Before posting, please take a moment to review the archives at http://archive.midrange.com/wdsci-l.

(Continue reading)


Gmane