CRPence | 19 Dec 22:49 2014
Picon

Re: RDi 9.1.1 Debug: CRRDG3137E Failed to monitor the given expression.

On 19-Dec-2014 09:20 -0600, Ken Killian wrote:
> NOTE: Call the program again, and now debug works okay again. I can
> see monitor variables again.
>
> Don't know what happen, I guess I will attribute this some unknown
> "Fluke"
>
> I didn't even refresh my SEP, because I did not recompile the program
> or anything.
>
> Case-Closed.<Joy Joy>

   Perhaps "closed", but also unresolved.?.? And maybe to come back, but 
how repeatedly and\or pervasively.?

   FWiW, I have no access to view the APAR SE59413 "RDI 9.0.1 MONITOR OF 
VARIABLE FAILS WITH CPF7E10 DURING DEBUG" with text "After starting 
debug an attempt to monitor a variable results in CPF7E10"; no idea why 
they failed to record the issue with the proper\expected Symptom 
"msgCPF7E10" to make the issue capable of being searched as a problem vs 
merely as the message identifier as a[n otherwise meaningless] token:
<http://www.ibm.com/support/docview.wss?crawler=1&uid=swg1SE59413>

-- 
Regards, Chuck
--

-- 
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)

MichaelQuigley | 19 Dec 22:45 2014

Re: Mark Occurrences support

Since it only works with RPGLE at this time, I added an RFE to add the 
functionality to other source types:

http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=63732

If you like it, please vote for it.

"WDSCI-L" <wdsci-l-bounces@...> wrote on 12/18/2014
06:20:31 AM:
> ----- Message from "Austin, Mark" <Mark.Austin@...> on Thu, 
> 18 Dec 2014 08:41:06 +0000 -----
> 
> To:
> 
> "Rational Developer for IBM i / Websphere Development Studio Client 
> for System i & iSeries" <wdsci-l@...>
> 
> Subject:
> 
> Re: [WDSCI-L] Mark Occurrences support
> 
> Hi,
> 
> Can I just confirm, this functionality is only available for RPG not
> COBOL right?
> 
> Best regards,
> Mark
--

-- 
This is the Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries 
(Continue reading)

MichaelQuigley | 19 Dec 21:16 2014

Re: Outline is not using cached source?

"KEEP THE WAY IT IS"

Of course, what I think would really be nicest would be a preference 
setting to choose. ;-)

"WDSCI-L" <wdsci-l-bounces@...> wrote on 12/18/2014
06:05:50 PM:
> ----- Message from Edmund Reinhardt <edmund.reinhardt@...> on
> Thu, 18 Dec 2014 17:57:03 -0500 -----
> 
> To:
> 
> Rational Developer for IBM i / Websphere Development Studio Client 
> for System i & iSeries <wdsci-l@...>
> 
> Subject:
> 
> Re: [WDSCI-L] Outline is not using cached source?
> 
> 
> When I fixed APAR SE56000 which was delivered in 9.0.0.1, I had to 
address
> the complaint that the outline view was not reflect changes made to PF
> files etc, once the source was loaded.
> The behaviour of the outline view is:
> 
> to extract file info from the host if
> a) the file is not in the cache
> b) this is an initial load or the refresh button was pressed
> 
(Continue reading)

Buck Calabro | 19 Dec 20:09 2014
Picon

Re: Find text in RDi 9.1.1

On 12/19/2014 12:14 PM, Ken Killian wrote:

> EVERY other EDITOR on the PLANET, at least HIGH-LIGHTS the replace field, so you can very quickly over type it....
> 
> MS Studio, NOTEPAD, NotePad++, Word, Outlook, PSPAD, ECLIPSE, IntelliJ IDEA, etc...
> 
> Just has always struck me as strange that LPEX does not work like every other FIND & REPLACE.
> 
> Very basic usage, which I would EXPECT automatically, but it is not there...
> <frown>

So I'm with you regarding tab order.  I never, and I mean never use a
find dialogue to find something.  I assign Ctrl-Shift-F to findSelected
and I use that.  In Notepad++ I use Ctrl-F3.  And so on.  I despise
editors that force me into a dialogue to do a simple text search.

That means I when I use the find dialogue I'm really using a REPLACE
dialogue.  And the RDi REPLACE dialogue really needs the tab order
revised to go Find, Replace.  The check boxes I could care less about -
they can be selected by Alt-key combinations as they are now.  (This
putting of the check boxes into the tab order is a feature of almost
every editor).  Is there anyone who actually tabs through to say, Whole
word, presses Space and then tabs to Replace All?  In any editor?

[for searching]
> Yes, I am force to do the following:
> HIGHLIGHT
> Ctrl+F10 (context Menu)
> Selected
> Find Selection
(Continue reading)

Buck Calabro | 19 Dec 15:39 2014
Picon

Re: RDi 9.1.1 Debug: CRRDG3137E Failed to monitor the given expression.

On 12/19/2014 9:05 AM, Ken Killian wrote:

> I was looping through a program in debug mode on our test box, and all of sudden, I cannot a monitor variable...
> 
> Message: CRRDG3137E Failed to monitor the given expression.

-snip-

> Any ideas? Has anyone else ran into this... 

Ken, I hate to reply because so many of my replies are the same :-(  I
haven't seen this one.  It's almost certainly a difference in the way we
work.  RDi is designed to let people work differently from one another,
so this is a good thing!

When I debug, I pretty much clear all my breakpoints and monitors from
previous debug sessions.  Say I'm working on stored procedures for the
web guys.  I might have 5 editor tabs open and I'm getting a stubborn
issue with a UDTF and a stored procedure, both written in RPGLE.  I'll
fire up the SEP debugger and clear all breakpoints and monitors and then
run the SQL that invokes the executables.  I'll add breakpoints and
monitors as needed.

Very, very rarely, a trouble ticket comes in and I need to switch gears
and work on something else that's urgent, say cash receipts :-).  I'll
open the C/R programs in the editor, start SEP debugging on them and add
some more breakpoints and monitors as needed.  Now I have maybe 10
breakpoints and 10 monitors across the two applications.

When I go back to the web stuff, I'll delete the breakpoints and
(Continue reading)

Buck Calabro | 19 Dec 15:27 2014
Picon

Re: Outline is not using cached source?

On 12/18/2014 5:57 PM, Edmund Reinhardt wrote:

> For those who care, reply and tell me if you think the outline view should
> use cached (potentially) stale data on the initial load and only get from
> the host if the cache doesn't have it, or the refresh button is pressed.
> Email and say "CHANGE"

CHANGE.

I deeply understand the trade-off being made here and don't find it
'wrong' to hit the host for the most accurate information.  I would,
however, use the cache whenever possible: that's the point of having a
cache.

If it were my code, I'd ponder a couple of choices:

1) On initial load, refresh the cache with all the files being referred
to for the outline.  Pro: Cache gets refreshed; a second load will be
much faster.  Con: It takes time to refresh the cache.

2) Use the (possibly stale) cache but put up a message that the cache
was not checked for staleness and that F5 might be advisable.  Pro: Fast
load. Con: Possibly incorrect outline.  Pro: User can choose how to proceed.

3) Create a preference for the Outline View that clearly indicates how
to drive this behaviour.  Pro: Let the user decide.  Con: Another
preference to code and understand.  Also, a preference is global;
sometimes I just don't care about the outline view and I'm OK with the
fact that it's stale.

(Continue reading)

Ken Killian | 19 Dec 15:05 2014

RDi 9.1.1 Debug: CRRDG3137E Failed to monitor the given expression.

Hi,

I was looping through a program in debug mode on our test box, and all of sudden, I cannot a monitor variable...
<Puzzled-Look>

Message: CRRDG3137E Failed to monitor the given expression.
Exception Stack Trace: 
com.ibm.debug.pdt.internal.core.model.EngineRequestErrorException: Server: CPF7E10 Internal
error occurred.
	at
com.ibm.debug.pdt.internal.core.model.EPDCRequestProcessor.internalProcessEPDCRequest(Unknown Source)
	at com.ibm.debug.pdt.internal.core.model.EPDCRequestProcessor.processEPDCRequest(Unknown Source)
	at com.ibm.debug.pdt.internal.core.model.DebugEngine.processRequest(Unknown Source)
	at com.ibm.debug.pdt.internal.core.model.DebugEngine.processRequest(Unknown Source)
	at com.ibm.debug.pdt.internal.core.model.DebuggeeProcess.monitorExpression(Unknown Source)
	at com.ibm.debug.pdt.internal.core.model.DebuggeeThread.monitorExpression(Unknown Source)
	at com.ibm.debug.pdt.internal.ui.actions.AddSnippetToMonitorAction$1.run(Unknown Source)
	at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)

I was debugging several records, and then all of sudden, my monitor view said on the variable:
Xxxxx = Internal error occurred.

I would hate to kill my debug, and re-add all my break-points. Since it loses break points when I am forced to
kill it in the middle of debug...

Any ideas? Has anyone else ran into this... 

Shucks, I love Debug in RDi 9.1.1.

-Ken Killian-
(Continue reading)

Buck Calabro | 18 Dec 21:31 2014
Picon

Re: Download RDi 9.1

On 12/18/2014 2:38 PM, Jeff Crosby wrote:
> I'm still on RDi 9.0 and want to download 9.1.  The only option I see on
> Passport Advantage is:
> 
> *IBM Rational Developer for i RPG & COBOL Tools V9.1 Core Multilingual
> Multiplatform eAssembly (CRS66ML)*
> 
> Is that what I want?  Multilingual?  I previously selected English.

It's different from when I downloaded it.  But that's what I'd choose.

> When I expand the above I see 4 options:
> 
> IBM Rational Developer for i V9.1 Quick Start Guide Multilingual (CIZ7LML)
> IBM Rational Developer for i V9.1 Core Product Install 1 Multiplatform
> Multilingual (CIZD1ML)
> IBM Rational Developer for i V9.1 Core Product Install 2 Multiplatform
> Multilingual (CIZD2ML)
> IBM Rational Developer for i V9.1 RPG & COBOL Tools Activation Kit
> Multiplatform Multilingual (CIZD3ML)
> 
> Which of these do I want?  All of them?

You probably don't need the Quick Start guide but it won't hurt to get
it.  You want the other 3 for sure.  There's an Information Manager link
too, but I was afraid to click it.

--

-- 
  --buck

(Continue reading)

Jeff Crosby | 18 Dec 20:38 2014

Download RDi 9.1

I'm still on RDi 9.0 and want to download 9.1.  The only option I see on
Passport Advantage is:

*IBM Rational Developer for i RPG & COBOL Tools V9.1 Core Multilingual
Multiplatform eAssembly (CRS66ML)*

Is that what I want?  Multilingual?  I previously selected English.

When I expand the above I see 4 options:

IBM Rational Developer for i V9.1 Quick Start Guide Multilingual (CIZ7LML)
IBM Rational Developer for i V9.1 Core Product Install 1 Multiplatform
Multilingual (CIZD1ML)
IBM Rational Developer for i V9.1 Core Product Install 2 Multiplatform
Multilingual (CIZD2ML)
IBM Rational Developer for i V9.1 RPG & COBOL Tools Activation Kit
Multiplatform Multilingual (CIZD3ML)

Which of these do I want?  All of them?

Thanks.

--

-- 
Jeff Crosby
VP Information Systems
UniPro FoodService/Dilgard
P.O. Box 13369
Ft. Wayne, IN 46868-3369
260-422-7531
www.dilgardfoods.com
(Continue reading)

Terry Hertel | 18 Dec 18:01 2014

RDi Drill down capabilities

I have a sub-procedure that is called from multiple locations in the program. If I place the cursor on one of
the calls and press F3, RDi takes me to the procedure called. If I use Alt-Left or Alt-Right, nothing
happens. The source stays positioned at the called sub-procedure. Is that the way the Alt-Arrow keys are
supposed to work or should they navigate back to the call?

----------------------------------------------------------------------

message: 1
date: Wed, 17 Dec 2014 10:08:09 -0500
from: Edmund Reinhardt <edmund.reinhardt@...>
subject: Re: [WDSCI-L] RDi Drill down capabilities

Yes, that's right, F3 now acts like Ctrl-Click in that in that you can navigate from any reference to any
declaraction, including subroutines and procedures to the definition.
And Alt-Left, Alt-Right will navigate back and forth along the chain of references that you have navigated.

This was in response to the RFE for F3 to navigate to d-specs as well as subroutines/procedures.

Regards,

Edmund (E.H.) Reinhardt
Technical Architect for Rational Developer for i

                                                                               

 Phone: 1-905-413-3125 | Home: 1-905-854-6195                                  
 E-mail: edmund.reinhardt@...                                           
 RDi YouTube:                                                  8200 Warden Ave 
 www.youtube.com/user/IBMRational#g/c/62DF24D5BCD43501     Markham, ON L6G 1C7 
 Find me on:                                                            Canada 
(Continue reading)

Sam_L | 18 Dec 17:28 2014
Picon

Re: Copying source lines produces strange result

Thomas,

I have always used Alt-L to mark the range of lines, then Alt-C to copy 
them.  If you haven't tried this, try it.  (I don't have access right 
now to experiment.)

Sam

On 12/18/2014 4:08 AM, Thomas Raddatz wrote:
>
> Hi,
>
> Another strange problem I am faced with is, that copying some source line right before /free produces a
strange result when the selection starts with an empty line. In this case the /free and the empty line
switch their positions. Can somebody confirm that problem?
>
> Regards,
>
> Thomas.
>
> Example code:
>
>       H main(main)
>
>       D main            pr                  extpgm('RDI.001')
>
>       P main            b
>       D                 pi
>
>        // Select the following four lines (starting with the empty line)
(Continue reading)


Gmane