go to post Anna Golitsyna · Feb 8, 2021 So I discovered and this is why I wrote this post . Oh well...
go to post Anna Golitsyna · Feb 8, 2021 Robert, that's what I initially thought too and it's indeed mostly so but not 100%: the old style %RI is actually calling the new style ROUTINE^%R, with Audit classes and all. Just no source control class suspenders . I see no technical reason not to have them in ^%R but they are not there. The ZSAVE implementation is not available.So this is why I am trying to tackle this problem from the Audit side. Any ideas? I am thinking of a process monitoring the audit trail records but I don't quite like this solution. In any event, is there anything beyond monitoring?
go to post Anna Golitsyna · Feb 8, 2021 I don't want to close access but to run custom code when the same routines are modified via a terminal. Cache, and looks like Iris, do not trigger source control hooks when terminal is used, say, for ^%RI. Yes, I can close terminal access via the same Roles, but I'd rather not to do that if other solutions exist.
go to post Anna Golitsyna · Feb 8, 2021 I already have custom source control hooks related to this issue but unless IRIS to which you link changed something in this respect source control hooks are bypassed when terminal is used for uploading routines. The cursory glance at the link hints that nothing has changed.
go to post Anna Golitsyna · Jan 25, 2021 Just the functionality I was looking for, including redirection
go to post Anna Golitsyna · Jan 21, 2021 After it got corrupt it stands at the first line for the duration of debugging. I doubt this was the design idea
go to post Anna Golitsyna · Jan 21, 2021 That's exactly the problem: the new breakpoint is reached but no yellow box and the cursor stays at the routine's first line. The code is executed though because the variable set right before this single breakpoint gets defined correctly as per Watch. I did follow your instructions except I still used the corrupt routine.I doubt I can reproduce this corruption intentionally because that requires understanding why it got corrupted in the first place and that is still a mystery to me.
go to post Anna Golitsyna · Jan 21, 2021 I'll remember your advice for mac or cls but my problem is with int routines. If I press View Other Code for them I see "There is no other code to view" and the yellow box still does not appear.
go to post Anna Golitsyna · Jan 20, 2021 I did not find anything obvious how to do that. Could you explain it in more details or post a documentation link?
go to post Anna Golitsyna · Jan 20, 2021 That means setting up, testing, and learning VScode plugin too which takes considerable time, I tried it before.
go to post Anna Golitsyna · Jan 20, 2021 Robert, a bit more info after I tested a bit more: 1) The first program above, TestAG exhibited the same corrupt debugging behavior when I set it up as debug target for another project however this another project started debugging alright when I switched to a yet another debug target:2) Test in this comment above leads me to think that the corrupt debug behavior might be associated with a program more than with a project. I don't think it is associated with the old style b break since it behaves correctly, the same as before.
go to post Anna Golitsyna · Jan 19, 2021 I am not sure I am falling into the .obj code with this problem but maybe I do. Just to be clear what is happening and what is not, a couple of screenshots.1) TestAG^TestAG is the debug target, hand-written routine, and I pressed Go once, so presumably the debugger now sits at this breakpoint. However, no yellow box and the cursor is one line up. Shift+F11 does not make the cursor or the yellow box to appear anywhere else (I have other breakpoints too). 2) This is normal behavior. last is the debug target and the cursor correctly stops at the programmatic breakpoint with a suitable yellow box. So any advice how to fix it?
go to post Anna Golitsyna · Jan 19, 2021 I was debugging INT code successfully when it suddenly stopped working as described in the OP. Since then it is reproducible for this specific project and recompiling does not help.
go to post Anna Golitsyna · Jan 19, 2021 Compilation started on 01/19/2021 15:05:17 with qualifiers 'cuk /checkuptodate=expandedonly'
go to post Anna Golitsyna · Jan 19, 2021 It was non-generated INT code in the first place. I did try VSCode before but so far prefer Cache Studio.
go to post Anna Golitsyna · Jan 8, 2021 That was, of course, it. I was so used to our "in-house" SQL with double quotes around strings that it never occurred to me that the outside world uses single quotes. Thanks, David!
go to post Anna Golitsyna · Dec 19, 2020 @Vitaly Furman and @Alexander Koblov Hi Alexander and Vitaly, Sorry for the delay in acknowledging your replies. This is still work in progress because it got superseded by other tasks. I'll let you know of the developments later. Thanks,Anna
go to post Anna Golitsyna · Nov 20, 2020 @Alexey Maslov The ultimate goal is to create identical globals on 2 different machines with a single run, on demand. I can run code on the first machine, then export global creating code which changes regularly, reconnect the Studio to a different machine, import code, then run it again. This is decidedly not a single run. I can also export and import global too, of course. I am willing to learn functionality that would be faster to deploy than these two approaches. Ideally as fast as ZN which unfortunately works on the same machine only but I might be wrong about that.
go to post Anna Golitsyna · Nov 20, 2020 Marc, I'll consider going the Web Service way, but I am not a total but still a beginner in Cache. I never used Web Services before so I would need to learn that. I wish there would something as straightforward as the RemoteResultSet queries which take just a few short and obvious lines of code, no learning curve.