Curious about object trace

When I trace an object - say an instance of myMenu named myMenu, I get the following:
trace (myMenu);
// returns [object, myMenu_1];
I'm very curious about the _1 at the end of myMenu...  why is it there?  What does it signify.  I would think it would return just the instance name.

Okay, so I changed my instance name from myMenu to thisMenu.
But the part I don't understand is when I return a trace, I  get myMenu_1, which is not the class name.  The class name is just myMenu.  So why the extra _1 and what does it signifiy?

Similar Messages

  • A question about Object Class

    I got a question about Object class in AS3 recently.
    I typed some testing codes as following:
    var cls:Class = Object;
    var cst:* = Object.prototype.constructor;
    trace( cls === cst); // true
    so cls & cst are the same thing ( the Object ).
    var obj:Object = new Object();
    var cst2:* = obj.constructor.constructor;
    var cst3:* = obj.constructor.constructor.c.constructor;
    var cst5:* = Object.prototype.constructoronstructor;
    var cst4:* = Object.prototype.constructor.constructor.constructor;
    var cst6:* = cls.constructor;
    trace(cst2 === cst3 && cst3 === cst4 && cst4 === cst5 && cst5 === cst6); //true
    trace( cst == cst2) // false
    I debugged into these codes and found that cst & cst2 had the same content but not the same object,
    so why cst & cst2 don't point to the same object?
    Also, I can create an object by
    " var obj:Object = new cst();"
    but
    " var obj:Object = new cst2();"
    throws an exception said that cst2 is not a constructor.
    Anyone can help? many thanks!

    I used "describeType" and found that "cst2" is actually "Class" class.
    So,
    trace(cst2 === Class); // true
    That's what I want to know, Thank you.

  • Error Stack in Expert Routine, Infos about Object Log

    Hi all,
    currently I try to find some information about using the error stack in combination with an expert routine. So far I know that I have to use the Object Log, which is already in place in my code for monitor messages.
    LOOP AT itab_input INTO wa_input.
    IF sy-subrc <> 0.
            CLEAR msg.
            msg-msgid = 'MY_CLASS'.
            msg-msgty = 'E'.
            msg-msgno = '002'.
            msg-msgv1 = v1.
            msg-msgv2 = v2.
            msg-msgv3 = v3.
            APPEND msg TO t_msg.
            " ??? Write wa_input to error stack???
            CONTINUE.
          ENDIF.
    ENDLOOP.
    Does somebody know how I could append wa_input to the error stack? Or does somebody have a good documentation about Object log?
    Thanks a lot!
    Nita

    Good Morning,
    thanks a lot for your input. I tried to implement this function, but I do not know where I could get the Segment Id from.
    Do you know what i_use_crosstab is used for? I think i_with_message should be set to 'X' if I want to write wa_input-record it to the error stack.
    CALL METHOD log->verify_record
              EXPORTING
                i_use_crosstab  = ''
                i_segid         = lv_segid
                i_record        = wa_input-record
                i_with_message  = 'X'
              RECEIVING
                r_skip          = lv_skip
              EXCEPTIONS
                too_many_errors = 1
                not_in_crosstab = 2
                OTHERS          = 3.
    From semantic point of view the coding should do following:
    - To avoid a second loop in my expert routine it should only check the current src record. If this is wrong, which I already determine in my coding, it should write the record in the error stack. If it is correct, it should check whether there are already records with the same semantic key in the error stack and if yes, add it also to it.
    - I assume that I have to delete this record manually from my src. package than.
    Cheers
    Nita

  • I am curious about this sound

    It may sound a bit weird but Im just curious about it and want to see if any body can hear what I can hear when knock on the left hand side of the home button with your finger tip,  might hear some little noise. It sounds like a little ball is in the iphone. Also when u knock on the area around camera lens has that sound as well. Does any body can hear it as well? or is it just me realising this?

    My friend is using same model iphone4s and she has exact same sound on both areas..
    it sounds like ' T ' sound. Think i should ask more people who uses 4s. Oh and you have to place your iphone on the table and try.

  • Curious about the Spry Accordion widget?

    Adobe is looking for participants for a brief (~1 hour) work observation and interview. Participants must meet the following criteria:
    Dreamweaver CS4 user (beginner to advanced -- no CS3 users please)
    Curious about Spry, but have never used Spry widget features in Dreamweaver
    You know what an Accordion widget is from other sites, but have never inserted or edited one in Dreamweaver
    Familiar with CSS styling and how it works
    We are offering a small incentive to those willing to help us complete this study.
    If you meet these requirements and would like to participate, please contact me at [email protected]
    In your email, please confirm that you are a Dreamweaver CS4 user, that you have never inserted a Spry Accordion, and that you are comfortable working with and editing CSS.
    Thanks!

    I added an accordion widget and it works on one site page while same code won't work on another page.
    It works here: http://dev.triptocollege.org/educator/Things-I-Should-Be-Doing-Now/K-5th-Grades.aspx
    Does not work here: http://dev.triptocollege.org/educator/Things-I-Should-Be-Doing-Now.aspx
    Yet both pages have identical code (with absolute links to the CSS and JS files).
    Can anyone shed some light on a solution?

  • About SQL tracer

    Hi, I want to know about SQL tracer i.e. how can we perform SQL tracer on our program specifically.
    Please do this needful
    Thanks
    Suren

    Hi
    SQL Trace transaction ST05: The trace list has many lines that are not related to the SELECT statement in the ABAP program. This is because the execution of any ABAP program requires additional administrative SQL calls. To restrict the list output, use the filter introducing the trace list.
    The trace list contains different SQL statements simultaneously related to the one SELECT statement in the ABAP program. This is because the R/3 Database Interface - a sophisticated component of the R/3 Application Server - maps every Open SQL statement to one or a series of physical database calls and brings it to execution. This mapping, crucial to R/3s performance, depends on the particular call and database system. For example, the SELECT-ENDSELECT loop on a particular database table of the ABAP program would be mapped to a sequence PREPARE-OPEN-FETCH of physical calls in an Oracle environment.
    The WHERE clause in the trace list's SQL statement is different from the WHERE clause in the ABAP statement. This is because in an R/3 system, a client is a self-contained unit with separate master records and its own set of table data (in commercial, organizational, and technical terms). With ABAP, every Open SQL statement automatically executes within the correct client environment. For this reason, a condition with the actual client code is added to every WHERE clause if a client field is a component of the searched table.
    To see a statement's execution plan, just position the cursor on the PREPARE statement and choose Explain SQL. A detailed explanation of the execution plan depends on the database system in use.
    Starting the Trace:
    To analyze a trace file, do the following:
    Choose the menu path Test &#61614; Performance Trace in the ABAP Workbench or go to Transaction ST05. The initial screen of the test tool appears. In the lower part of the screen, the status of the
    Performance Trace is displayed. This provides you with information as to whether any of the Performance Traces are switched on and the users for which they are enabled. It also tells you which user has switched the trace on.
    Using the selection buttons provided, set which trace functions you wish to have switched on (SWL trace, enqueue trace, RFC trace, table buffer trace).
    If you want to switch on the trace under your user name, choose Trace on.  If you want to pass on values for one or several filter criteria, choose Trace with Filter.  Typical filter criteria are: the name of the user, transaction name, process name, and program name.
    Now run the program to be analyzed.
    Stopping the Trace:
    To deactivate the trace:
    Choose Test &#61614;Performance Trace in the ABAP Workbench. The initial screen of the test tool appears. It contains a status line displaying the traces that are active, the users for whom they are active, and the user who activated them.
    Select the trace functions that you want to switch off.
    Choose Deactivate Trace. If you started the trace yourself, you can now switch it off immediately. If the performance trace was started by a different user, a confirmation prompt appears before deactivation-
    Analyzing a Sample trace data:
    PREPARE: Prepares the OPEN statement for use and determines the access method.
    OPEN: Opens the cursor and specifies the selection result by filling the selection fields with concrete values.
    FETCH: Moves the cursor through the dataset created by the OPEN operation. The array size displayed beside the fetch data means that the system can transfer a maximum package size of 392 records at one time into the buffered area.

  • Curious about capture preview

    Just received and installed my new 8-core Mac Pro and was excited about running Premiere Pro CS5 on it.  I have a Canon HV20 with a number of tapes full of HD video, and I monkeyed around with the HV20 with Premiere Elements on my last computer (a PC running XP) so I was anxious to see what I could do with the Mac and looking forward to creating some discs out of the footage that's been languishing in a drawer.
    My very first task was to capture some video and I was surprised to see that during the capture, there was no on-screen preview.  Apparently I'm supposed to peer at the tiny LCD and try to use it for my clip caps.  I was really surprised and figured I'd missed a setting somewhere, and then I found this link:
    http://help.adobe.com/en_US/premierepro/cs/using/WS1c9bc5c2e465a58a91cf0b1038518aef7-7faaa .html
    which in italics states that the Mac OS is apparently incapable of providing this function.  So I'm curious - why not?  It worked in Elements on my 7-year-old PC.  What's the deal?
    Thanks in advance for the info,
    G.

    Oh well, no problem.  I'm relatively certain I had preview on cap in Elements on Windows.  But it's been a few months.
    Anyway, how 'bout my second question:
    "A second thing that I'm curious about:  why the heck does capture stop every time Premiere loses focus?  I can't even check an email while it's capturing because it instantly halts once it's not the focused window.  This behavior is particularly annoying."
    Any way to modify this behavior?  I'd like to be able to do more than one thing at a time with my computer.
    G.

  • I am curious about the Probox23 can mount behind the AIO PCs.

    Hi there,
    I just saw Probox23 can mount behind the AIO PCs. I am very curious about it. If I buy a Probx23, should I buy the wall mount kit at the other place? Where can I buy the wall mount kit? What kind of the wall mount kit is suitable for Probox23?
    Sorry about asking so much questions.
    Thanks a lot.

    Hi,
    Probox 23 has with one wall mount adapter in accessories box for shipping.
    This wall mount adapter is just for Probox 23 and from MSI.
    This wall mount adapter can be support standard wall mount kit.(75mm*75mm or 100mm*100mm)
    Please buy standard wall mount kit from any shopping store or shopping website.

  • Still curious about the ideacentre Stick?

    Last week, we announced the ideacentre Stick, which is a stick computer that you can plug into any TV display and turn it into a Windows PC with 2GB RAM and enough power to browse the web, create documents, etc.
    So, what are some best practices when it comes to stick computing? Well, we have some below, check 'em out:
    If you're still curious about what our device is, check out our datasheet here: http://news.lenovo.com/images/20034/LenovoideacentreStick300Datasheet_Final.pdf

    We had an absolute blast. I don't think I'll ever see a bigger fireworks display. I took a few pictures through our weekend (but not nearly enough to truly show what all we did!)
    This was the view from our hotel in Backbay. That water line is where the fireworks were set off.
    this is one street over from Newbury st. We were on our way to an improv show and ended up walking all the way to the center of the metro! (not a good idea when the wife was in heels, but we learned our lesson and took the subway whenever the walk was more then 20 minutes)
    This was actually shot from the science museum through a window. For reasons.
    Waiting for the fireworks. Everyone who had boats were piled up about a quarter mile from the barge. also city lights.
    and more city lights (we have a competition at work, this and one other will be my entries!)

  • Anyone curious about Cider???

    Hello All,
    Yes, I do love games, and I probably spend (waste) way too much time on them.
    With that out of the way, is anyone curious about how Cider, and the new EA games that use Cider technology, seems to work?
    All I can say is: WOW!
    Actually, it's quite an interesting twist, and very clever. First, let me say that Cider does seem to deliver all that it promised, and these new games do work very well. I am currently working my way through Command & Conquer 3, and no problems so far. Admittedly, this is a real time strategy title, and as such it isn't an ultimate test of this technology (a first person shooter will be), but the game does feel as if there is plenty of "overhead." We'll get a real test when one of the FPS titles gets the Cider treatment.
    But, I am excited about this technology. You see, Cider approaches the problem of "porting" a game to OS X in a completely new and innovative way. If I properly understand how it works, Cider completely side-steps the difficulty in coding a game for OS X and OpenGL, and it takes advantage of the gaming strengths of Direct-X, by simply wrapping the Windows version of the game in a WIN-32 API "box." Simple, and brilliant.
    While I was skeptical about the utter simplicity of this solution when I first read of it, it has been born out since I installed the game and did a bit of digging. By viewing the "package contents," I was able to dig down through the nested levels of associated directories, and I eventually found the "CNC3" binary. Yep, it's a .exe file!!
    Obviously, the ability to "wrap" any PC game in a Cider box and distribute it for OS X is exciting news for anyone like me who is nuts about games. However, many of you who couldn't care less about games are probably thinking, "So what?"
    Well, if this can be done for games, think about the possibilities for other Windows-only software titles. If we can run Windows titles in their own "pre-packaged" and custom-tailored Windows environment, there is no need for either "virtualization" software or Bootcamp.
    Scott

    Hello Mandy,
    Yes, Cider is a direct descendant of the Linux wrapper, according to the information on Transgaming's website.
    As I mention in my original post, we won't really know how well these wrapped games compare with their counterparts running natively in Windows until a FPS title is released, and frame rate "stress" becomes apparent.
    However, it looks really good so far, from what I can tell. Keep in mind that the game, itself, really is running natively, and the only thing that must be "translated" (according to the information I have been able to find) are the calls to the GPU. As I understand it, the DirectX calls are simply being translated into OS X-speak (perhaps directly to Quartz?? That's what it feels like; not OpenGL), and this shouldn't represent that much of an overhead.
    What I can say so far is that the game does take a long time to launch, probably due to the need to "start" a Windows environment. Once the game loads, however, everything is quite smooth and "snappy." In fact, it feels better than any game I have played in a long time, including the titles from id.
    I am running the game at my display's native resolution (1680 X 1050), and I have most of the values at their highest setting. In other words, I am demanding a lot. And, the game seems to be delivering. There are certainly no lags in response from the in-game GUI. Only once have I noticed things actually slow down, and that was associated with action from a flame tank. I'm going to keep an eye on this one (I have only encountered that single flame tank at this point in the game); this could have been a fluke, it could be a hole in the graphics translation (which would potentially get fixed), or it could be an inherent problem. This last I think is the least likely, since it just doesn't fit with the rest of the experience I'm having.
    Again, I have to say that the "feel" of this game's elements is just much smoother than what I am used to. From the moment the EA splash animation begins, there is a sense of "rightness" about it all that has been absent from any other game I've seen (and I've played many ports of EA titles). Keep in mind that I'm running this game on a Core Duo MBP, not a Core 2 Duo.
    It will be interesting to see how this all pans out, as more games are released and the "kinks" get worked out.
    Scott

  • Curious about the MMS

    I actually prefer pictures through email, but since i will be getting the MMS eventually, i was just curious about how the pictures are seen. I see in examples on apple's website that it appears in the text messaging field and its little. i am assuming you can make the picture bigger and save it as a bigger picture...yes? no?...i realize americans can't answer this but perhaps citizens of other countries that already have it can shed a light on it. silly question i know, but i'm at work and i'm bored

    I'm guessing you don't have AT&T?
    I removed the iPhone Text Message plan and added the regular 1500 Message plan via AT&T's website and I was only able to send a few text messages before it stopped working. It's funny how AT&T will purposely keep you from sending MMS messages despite the fact that the phone is capable of sending them. I mean it's not as if I'm stealing from them, the plan I have states that I can send MMS messages and yet as soon as they see that I'm trying to use an iPhone to send them they block it?

  • Curious about the Accordion widget?

    Adobe is looking for participants for a brief (~1 hour) work observation and interview. Participants must meet the following criteria:
    Dreamweaver CS4 user (beginner to advanced -- no CS3 users please)
    Curious about Spry, but have never used Spry widget features in Dreamweaver
    You know what an Accordion widget is from other sites, but have never inserted or edited one in Dreamweaver
    Familiar with CSS styling and how it works
    We are offering a small incentive to those willing to help us complete this study.
    If you meet these requirements and would like to participate, please contact me at [email protected]
    In your email, please confirm that you are a Dreamweaver CS4 user, that you have never inserted a Spry Accordion, and that you are comfortable working with and editing CSS.
    Thanks!

    To bad I fail on nearly all the criteria, I'll pass alone the message.
    Good luck with the search.

  • Curious about the iOS 5 software that is coming out.  If I wait til its release to buy my iPhone 4 will it come with the iOS5 software already on it?  or should I go ahead and buy my iPhone 4 and then update the software when the iOS5 is released?

    curious about the iOS 5 software that is coming out.  If I wait til its release to buy my iPhone 4 will it come with the iOS5 software already on it?  or should I go ahead and buy my iPhone 4 and then update the software when the iOS5 is released?

    Keaten wrote:
    Yea I would have to say wait until the release of IOS 5, because the phone will probably run it a lot smoother. I mean go ahead and buy the Iphone 4 if you are dying to have it, because you can just update it which is no big deal at all, but it would be the smarter thing to wait for the new updates.
    And the networ issue as far as I am aware is fixed on the Verizon iPhones, so it really depends on which service you have.
    - correct me if i am wrong
    Have to disagree here, Apple have not even announced an iphone 5, it is pointless to speculate that we will see one or not see one until Apple actually releases a statement. ios was built and tested on the iphone 4 so there will not be any slowdown or laggyness compared to a phone that has not been released yet.
    If we are advising potential apple product buyers then we should not be putting them off buying a iphone 4 on speculations alone. Just because apple have for the last few years released an iphone every june/july does not mean then have to stick to this approach.
    Apple have not issued any statement regarding an iphone 5, until this time it does not exist, only in heresay on the internet.
    Any one looking to get an iphone 4, to you i would say waiting until ios 5 is released is a personal choice, no matter if you wait or not you will be able to update via itunes. One way or another in the future you will have to do an ios update via itunes whether this is the 5.0 software or 5,2,1.
    Please note that Apple are very closed mouthed about new hardware releases and potentially a new iphone could be round the corner, however there is no evidence to suggerst this, i.e Apple have not even mentioned an iphone 5 this year anything you hear towards the contrary is media spin thus far and speculation.
    ios 5 was built and tested to work seamlessly on iphone 4, the beta software released to developers is being tested on iphone 4. Please do not listen to people telling you that the iphone 4 will not run this ios as well as a phone that does not exist yet. When iphone 5 launches it will most likely have dual processors and not until its launch will the next gen apps start appearing.

  • About LCA Trace

    Hello Experts,
        Can some one explain me what is LCA Trace?
    How and when it is generated and also a short note abt /SAPAPO/OM01 and /SAPAPO/OM01 transaction.
    Thanks in advance.
    Best Regards,
    Siva.

    Hello Siva,
    -> you asked on the MAXDB/liveCache forum about the LCA trace,
    & recommend to trace the problem in SCM - APO forum:
        Re: Is livecache used during ATP check?
    It's looking strange for me.
    -> In the LCA trace, which is written on the liveCache server in the liveCache Rundirectory, additional information will be written - tracing LCA Objects, if the trace level is changed, and this information will help the LCA developers<!!> to get clear on the LCA routine issue.
    The LCA developers or LCA development support will create the LCA trace in the customer system with agreement to the customer of the needed level, if it is necessarily for the further analysis of the LCA routine problems.
    -> Please create the ticket to the component 'BC-DB-LCA', if you have the LCA routine issues.
    -> Please also see the info at
          Re: /sapapo/om02 - LiveCache Tracing for Optimization Run problems
    Thank you and best regards, Natalia Khlopina

  • A question about objects and queries

    I just started using COM objects in ColdFusion. I am mostly
    using CreateObject, but occasionaly use <CFOBJECT>
    My question is; Do I have to destroy these object variables
    when I am done? I know in a lot of other languages I work in, you
    have to "clean up'" after yourself and destroy some variables when
    you are done to avoid memory leaks. How does CF handle this?
    While I am asking, what about queries? Do hey have to be
    destroyed as well? What about queries made with QueryNew?
    Thank you for the help.

    Cold fusion cleans up for you.
    You do not need to explicitly destroy anything unless threads
    are spawned in a non standard way by Java or C code that you are
    using.

Maybe you are looking for

  • About serilize/deserilize complex objects

    Dear friends, I have a question about transfering complex objects between client and server. if I just transfer primitive data type, any language of client side can consume this web service. but how about if I transfer complex object? for example, in

  • Safari gives up loading images too early

    Hi I have noticed that Safari (currently I am using 3.1.1 but I had noticed this behavior on earlier versions as well) usually gives up on loading images too early. I have a 30Mbps internet connection and also in Firefox and Opera I do not experience

  • Roll back User deleted

    Hi, I have deleted a user in my database by accident. How do i restore it. My database is oracle Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production (RAC) working on solaris 5.0 Can any one help how to restore(i want the user

  • How do I un-freeze my computer?

    My computer is unresponsive to any clicking.  It seems like there are several programs running in the background especially iTunes.  I have tried hitting command, option and escape.  I have tried clicking on the apple.  I have also tried shutting the

  • Adjust RF output power

    I have a wrt54g router and want to lower the RF output power but I can't and I don't want to use the ddwrt. Has any new Linksys router this option available?