Mike,
Interesting, I got it to fail on both my company work-laptop, and my home desktop. Both Running RDi 9.6.0.5.
Here is my compile command:
CRTBNDRPG PGM(KKILLIAN/TEST_DBCLK) SRCFILE(KKILLIAN/QRPGLESRC) SRCMBR(TEST_DBCLK) OPTION(*EVENTF) DBGVIEW(*ALL) REPLACE(*YES)
Now the LPEX Editor seems to work PERFECTLY, NO issues there!
But, when debugging when using RDI 9.6.0.5 and using the "*LISTING" view and the debug Editor. That is where the double-click does not work. Because it seems to be stuck in Punch-Card format. Hence not compatible with **Free. :(
Just ran it again this morning, and same problem.
Procedures to duplicate:
1.) Compile with dbgview(*all)
2.) Add S.E.P. for the program
3.) Call the test-program, which I named "Test_DbClk.rpgle"
4.) When it stops in debug, right-click & select *listing.
> "Switch View" > "Show *LISTING"
5.) step into code
6.) double-click on the variable "EF2_MAX#" on these statements:
"For ef2_max# = 1 to %elem(ef2_dta);" // Double-click does not work on EF2_Max# at punch-card column-05
^^^^^^^^ --> Double-click does not work...
"Return ef2_max#;" // Double-click does not work on EF2_MAX# at punch-card column-08
^^^^^^^^
It does work when clicking on this line however:
" ef2_max# -=1; // Get last non-Blanks " --> This one does work! It starts in punch-card column-09
00000000011111111111
12345678901234567890
002400 For ef2_max# = 1 to %elem(ef2_dta); // Double-Click does not work...
002500 if ( ef2_dta(ef2_max#) <= *blanks );
002600 ef2_max# -=1; // Get last non-Blanks
002700 leave;
002800 endif;
002900
003000 endfor;
003100
003200 Return ef2_max#; // Double-click does not work...
Geez, never expect double-click to be such a hassle. It works great in ACS and LPEX. :)
If you like, I could send you a "JING" Flash-Wave Video. But, I cannot seem to post it on imgur, because it is "Flash".
Let me know if there another free web-site where I could post a JING video to show the error in detail.
https://www.techsmith.com/jing-tool.html
-Ken Killian-
-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Mike Hockings
Sent: Wednesday, March 13, 2019 7:17 AM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries <wdsci-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: [WDSCI-L] RDI 9.6.0.5 is NOT 100% **FREE compatible...
I have not been able to make the problem happen so far.
What version of IBM i are you running on and what compile or compile and bind commands are you using?
Mike
Mike Hockings, M.Eng., P.Eng.
DevOps for Enterprise
IBM Developer for z Systems and Power Systems Software Technical Support IBM Canada Ltd. Laboratory hockings@xxxxxxxxxx voice 1-905-413-3199 T/L 313-3199 ITN 23133199
From: Ken Killian <kkillian@xxxxxxxxxxxx>
To: Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries <wdsci-l@xxxxxxxxxxxxxxxxxx>
Date: 2019/03/11 21:34
Subject: Re: [WDSCI-L] RDI 9.6.0.5 is NOT 100% **FREE compatible...
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx>
Steve/Mike,
I was able to DUPLICATE the Non-FREE(a.k.a **Free) in the DEBUG Editor:
https://urldefense.proofpoint.com/v2/url?u=https-3A__imgur.com_a_0NFnZpt&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=p6xOi4p2vBbiH5YkRZKoMQ6IzQ6BOsLsFqe_LxmiQAA&s=s3q7r6mDDBVlOm9FSa0y-HjtKvMXRnNYOSvfS9eNyfg&e=
So, this is a repeatable Error!
<proud smile>
I must say with the LPEX, it works PERFECTLY!!! <Joy Joy> No issues at all!
<Bravo!>
Double-Click works in every time in other software Eclipse/Visual Studio/Notepad++/MS notepad, ms WordPad, etc…
Here is the dummy Text code that you can cut & paste into an editor and the same Errors because the debug editor is stuck in “Punch-Card” format.
**free
ctl-opt debug(*yes) option(*noDebugIO:*SrcStmt:*SecLvl) dftactgrp(*no);
dcl-s ef2_Max# int(10);
dcl-s ef2_dta char(10) dim(5);
// Load Array for Dummy test
ef2_dta(1) = 'One';
ef2_dta(2) = 'Two';
ef2_dta(3) = 'Three';
ef2_max# = get_maximum(ef2_dta);
*Inlr = *on;
return;
dcl-Proc get_maximum;
dcl-pi *n like(ef2_max#);
ef2_dta char(10) dim(5);
end-pi;
dcl-s ef2_max# int(10) inz;
For ef2_max# = 1 to %elem(ef2_dta); // Double-click does not work, because code starts in column-01
if ( ef2_dta(ef2_max#) <= *blanks );
ef2_max# -=1; // Get last non-Blanks
leave;
endif;
endfor;
Return ef2_max#;
end-proc;
Sadly, nothing gets logged in the Error-Log about the double-Click not working. So sharing a log in this case, is pointless…
I thought IBM got over their love affair with punch-cards. Yeah, I know they got their foot hold in computer with Punch-Cards and type-writers.
But, that era has long PASSED. 😊 <Just saying…>
PS. I have reported this issue before via PMR, and got no results… ☹
Maybe I need to write up RFE, so the debug editor will work with **free code?
-Ken Killian-
From: Ken Killian<mailto:kkillian@xxxxxxxxxxxx>
Sent: Monday, March 11, 2019 7:36 PM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries<mailto:wdsci-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: [WDSCI-L] RDI 9.6.0.5 is NOT 100% **FREE compatible...
It is the debugger editor. Does it parse the debugger editor?
Sent from my iPhone
On Mar 11, 2019, at 7:04 PM, Steve Ferrell via WDSCI-L
<wdsci-l@xxxxxxxxxxxxxxxxxx> wrote:
Hi Ken,
Mike (IBM Support) tried the code and it works also.
Could you send a log to Mike at support or Armand? I'd like to be sure
it's not hitting an NPE. Your logs have been enlightening.
Thanks!
Steve Ferrell
-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Ken
Killian
Sent: Monday, March 11, 2019 2:54 PM
To: Rational Developer for IBM i / Websphere Development Studio Client
for System i & iSeries <wdsci-l@xxxxxxxxxxxxxxxxxx>
Subject: [WDSCI-L] RDI 9.6.0.5 is NOT 100% **FREE compatible...
Hi,
Why can't I double-click on Variable in RDI 9.6.0.5? Stuck in
Punch-Card
format by IBM? Huh?
For ef2_Max# = 1 to %elem(ef2_dta.data);
if ( ef2_dta.Seq(ef2_Max#) <= *zeros );
(a) ef2_Max# -= 1; // Get Last non-Zero // <-- Double-click works
here
leave;
endif;
endfor;
(b) return ef2_max#; // <-- Double click does not work here, stuck in
punch-card format I guess!
Is it rocket science to enable double-click to select a Variable?
So, on this statement (a)"ef2_max# -= 1;" I can double-click on the
variable: "ef2_max#" to select it.
But, if I try to select on this Statement: (b)"return ef2_max#", it
does
NOT work?
Is there a switch to turn on to enable **free compatibility in RDI
9.6.0.5?
Please advise of what setting/preference I have to turn on to enable
double-click to work to work consistently and reliably.
Thanks!
PS. This was using the debugger editor.
-Ken Killian-
--
--
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@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_wdsci-2Dl&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=p6xOi4p2vBbiH5YkRZKoMQ6IzQ6BOsLsFqe_LxmiQAA&s=55hvA53qH-Z2PDk_Qwi8cl4N2ZW5AIuvloK3_aneuaQ&e=
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_wdsci-2Dl&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=p6xOi4p2vBbiH5YkRZKoMQ6IzQ6BOsLsFqe_LxmiQAA&s=NkMSHat6xalbfAAl_lcN8t6e8p5pxkv8ON7Um6EDd4k&e=
.
Help support midrange.com by shopping at amazon.com with our affiliate
link:
https://urldefense.proofpoint.com/v2/url?u=https-3A__amazon.midrange.com&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=p6xOi4p2vBbiH5YkRZKoMQ6IzQ6BOsLsFqe_LxmiQAA&s=JcFo-f1AbkhsoZ6_wKdz3saInnkuGEaEgvXSmzsYRMc&e=
--
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@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/wdsci-l.
Help support midrange.com by shopping at amazon.com with our affiliate
link:
https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.