Learning Documentation Community Open Exchange Global Masters Certification Partner Directory Ideas Portal
Developer Community
  • Posts
    • InterSystems Official
    • Articles
    • Questions
    • Announcements
    • Discussions
    • Tags
  • Events
    • Tech Article Contest
    • Programming Contest
    • InterSystems Ideas Contest
    • Event Calendar
  • Products
    • InterSystems IRIS
    • InterSystems IRIS for Health
    • HealthShare
    • TrakCare
    • Caché
    • Ensemble
    • InterSystems Analytics (DeepSee)
    • InterSystems Text Analytics (iKnow)
  • Jobs
    • Job Opportunity
    • Job Wanted
  • Members
  • About
    • About Us
    • FAQ
    • Feedback
    • Report an Issue
    • Share an Idea
    • Code of Conduct
    • Contact Us

EN

Search by posts, members, tags
Language
EN|
ESPTJPCNFREN
New post
  • Profile page
  • Posts (19)
  • Replies (106)
  • Mentions (2)
  • Official certification & Credly badges (0)
  • Global Masters badges (0)
  • Followers (0)
  • Following (5)
AllAccepted answers
    go to post
Arto Alatalo · Apr 12, 2017

Indeed, the documentation of ##Expression describes the behaviour and ##SafeExpression avoids the copying.

Many thanks, Eduard!

0 0 https://community.intersystems.com/post/copy-base-method-derived-class-tricks-debuger?page=5#comment-92701
    go to post
Arto Alatalo · Apr 11, 2017

Please check my update. Any comments?

0 0 https://community.intersystems.com/post/copy-base-method-derived-class-tricks-debuger?page=5#comment-24976
    go to post
Arto Alatalo · Apr 11, 2017

John,  because of debugging:

- you set breakpoint in A.Abc() but it never hit because cache executes B.Abc()

- because of some reason, debuger is not able to step in nether of the copies

0 0 https://community.intersystems.com/post/copy-base-method-derived-class-tricks-debuger?page=5#comment-24971
    go to post
Arto Alatalo · Apr 11, 2017

I did this test before posting my question to see if the overloading stops the copying.  It does stop and I see compiler generates code like 

q ##class(A)$this.Abc()

but  this way can not be seen as solution because this trick must be done for each such method in each derived class
 

0 0 https://community.intersystems.com/post/copy-base-method-derived-class-tricks-debuger?page=5#comment-24956
    go to post
Arto Alatalo · Apr 11, 2017

sure, many times

0 0 https://community.intersystems.com/post/copy-base-method-derived-class-tricks-debuger?page=5#comment-24951
    go to post
Arto Alatalo · Apr 11, 2017

Cache for Windows (x86-64) 2016.1.1

0 0 https://community.intersystems.com/post/copy-base-method-derived-class-tricks-debuger?page=5#comment-24941
  • first
  • ‹ previous
  • …
  • 2
  • 3
  • 4
  • 5
  • 6
Arto Alatalo
@Arto.Alatalo
Follow

User statistics

Posts
19
Replies
106
Likes
19
Applications
0
Badges
0
Followers
0
People reached
12.8K
Accepted answers
0
  • Privacy & Terms
  • Guarantee
  • Section 508
  • Contest Terms
  • Cookies Settings
© 2025 InterSystems Corporation, Cambridge, MA. All rights reserved.

Log in or sign up

Log in or create a new account to continue

Log inSign up

Log in or sign up

Log in or create a new account to continue

Log inSign up

Log in or sign up

Log in or create a new account to continue

Log inSign up

Log in or sign up

Log in or create a new account to continue

Log inSign up