Debugger question

I'm using xCode debugger, however I cannot see values in variables for object-oriented code. Instead, I expand out the structures and see "isa". What is this and how can I see values when debugging objects.

I have the following code in my Javascript file :
MHCTIFFSave = app.trustedFunction( function (File,cFile)
app.beginPriv();
this.saveAs(File,"com.adobe.acrobat.tiff");
app.endPriv();
WHen I execute it in the debugger - I get this :
MHCTIFFSave("Z:\\Test.gif","test");
NotAllowedError: Security settings prevent access to this property or method.
Doc.saveAs:4:Console undefined:Exec
undefined
I thought that this was a trusted function and this would prevent me from seeing this message .

Similar Messages

  • Forte Debugger Question - How to break on exception?

    I am running my midlet under Forte Community Edition 3.0, and I am trying to track down a crash. The output window shows that a NullPointerException was thrown, so it should be a simple matter of finding the line with the offending allocation, but I cant find any way to make the debugger break on an exception. Is this possible?
    Thx,
    Fred

    I'll answer my own question here....the best thing I have found so far is to put a high level catch in the code, then call Exception.printStackTrace in the catch block. Its not ideal, but it helps find the offending code.
    Fred

  • Xcode debugger question

    How do i setup the debugger in xcode?

    The debugger is already setup in Xcode, do you have a specific question?

  • ABAP Debugger Question

    Hello,
    When I debug an ABAP program, is there any way to display a list of names of all the program's internal tables? (global and local)
    Thx.
    Andy

    Hi andrew,
    First Switch to New ABAP Debugger if you are currently using Classic Debugger.
    In Desktop1 Tab(the default tab) select the Globals Tab in the Right side. There you can see all itabs, variables which are available globally.
    Regards
    Karthik D

  • Jdeveloper 9i - Debugger Question

    Some more info:
    1> I start java in debug mode
    set PATH=d:\jdev9i\jdk\jre\bin;%PATH%
    cd d:\jdev9i\j2ee\home
    java -ojvm -XXdebug,detached,port4000 -jar oc4j.jar
    2> You'll see the following message:
    *** Port is 4000 ***
    *** Connect debugger anytime for on demand debugging. ***
    Then, OC4J will start up.
    3> Back in JDeveloper, bring up the Project Settings dialog box.
    Select Debugger on the left side, check the Remote Debugging
    checkbox, and select the Attach to OJVM radio button.
    4> Put breakpoints in my code
    5> When you press Debug button on the toolbar (or from the menu),
    you will be presented with the Attach to OJVM dialog box where
    you enter the host name of the OC4J machine (leave blank if it's
    the same machine) and the debugging port number (4000). Press
    Ok, and the debugger will connect to OC4J.
    6> Next I start mmy web application from the browser using
    http://localhost:8888/property
    7> This triggers my breakpoints.
    ****However here is my problem. At some point in my flow I have to download an applet and I have breakpoints in it that I want to hit. However Jdeveloper just ignores those breakpoints completely.
    So how do I switch between the client applet and server side in a debugging session.
    Please help urgent!
    (Hope Liz Looney-> the debugger pro answers)
    FYI: Jdeveloper9i has a cool debugger!!!

    Hi,
    Your applet is running in the client (the browser). That's a different JVM than the one in the server (OC4J).
    You've connected JDev's debugger to the server JVM (OC4J), but you haven't connected it to the client JVM where your applet is running.
    Just like with server side java, you have 2 tasks:
    1. Start the JVM with debug options.
    2. Connect to the JVM with JDev's remote debugger.
    ....................Start the JVM with debug options....................
    If you install a JDK from Sun, then it should have automatically installed the Java Plug-in. (If you are using the JDK which comes with JDeveloper, then I don't know how you get the Java Plug-in.) So, assuming that you can get a JDK from Sun...
    From the Windows Control Panel open up the section for the Java Plug-in. Now, depending on which JDK you have installed, the control panel looks a little bit different. I'd recommend using the Plug-in for JDK 1.4, because it gives much more flexibility for specify Java Runtime Parameters. There are several tabs: Basic, Advanced, Browser, Proxies, Cache, Certificates, and About.
    Click on the Advanced tab. Here you can specify which JRE to use and the Java Runtime Parameters. In the Java Runtime Parameters, enter the following:
    -client -Xdebug -Xrunjdwp:transport=dt_socket,address=6000,server=y,suspend=n
    The -client part is to specify the HotSpot Client JVM. Currently OJVM does not work correctly with JDK 1.4, so you'll have to use the HotSpot Client JVM.
    The other options are the JPDA debug options.
    The address=6000 part specifies port number for the debugger to connect to. If your browser is running on the same machine as OC4J, you want to make sure that you use a different port number. (Remember you were using 4000 for debugging OC4J).
    The suspend=n part specifies that you want the JVM to start up and not to WAIT for a debugger connection. If you put suspend=y, the JVM would stop and wait for the debugger to connect. (You may decide later that for your situation, suspend=y would be appropriate.)
    Click on the Browser tab. Here you can check which browsers where you want to use the Java Plug-in. Make sure that the browser you will use for your applet is checked.
    Click on the Basic tab. Here you can choose whether to show or hide the Java console.
    Press the Apply button and then re-start your browser.
    ....................Connect JDev's remote debugger....................
    You should create another project for remote debugging your applet. Because you are using a HotSpot JVM, you must choose the Attach to JDPA radio button in the Project Settings dialog box, on the Debugger panel.
    Put breakpoints in your applet.
    Select your applet remote debugging project and press the Debug button on the toolbar. You will be presented with the Attach to JPDA dialog box, which looks just like the Attach to OJVM dialog that you use for remote debugging OC4J. Again, enter the host name of the browser machine (leave blank if it's the same machine as JDev) and the debugging port number (6000). Press Ok, and the debugger will connect to the browser's JVM using the JPDA (Java Platform Debugger Architecture) protocol.
    Now, when your applet executes the code where your breakpoint is, JDev's debugger should stop at the breakpoint.
    Remember that you have 2 debugging sessions going on simultaneously. You can use the Run Manager window (do View | Run Manager from the main menu) to control which debugging process is the active session. The toolbar buttons will always operate on the active debugging process.
    Some people find it easier to run the client and debug the server or to debug the client and run the server, but you can do both at the same time. You'll have to see which you find easiest for you
    -Liz
    PS - I'm glad you like JDev's Debugger!

  • Debugger question: how to step into a message call

    Hi everyone:
    If my understanding of the workings of the following objective C statement is correct,
    NSString *s = [NSString stringWithFormat:@"Hello %@", @"World"];
    what happens there is that it sends the "stringWithFormat" message to the "NSString" class. Correct?
    If so, is it possible to step into that message with a debugger? (For some reason when I try to do it, the debugger simply steps over it.)

    You don't have the source code to NSString so all you would see is machine code.

  • Debugger questions

    In the docs I saw:
    If you let your mouse pointer rest over a variable or function in an Editor
    tab, the result of evaluating that variable or function is displayed as a
    help tip.
    and
    You can turn off the display of help tips using the Display JavaScript
    variables and Enable UI help tips checkboxes on the Help Options page of
    the Preferences dialog.
    I can't get either help tips or the var display to work on XP whether the script
    is running or not. Is this a known problem or is there a magic incantation I am
    missing? The databrowser is working just fine, though, so I'm not completely blind.
    ciao,
    -X

    [email protected] wrote:
    > Just got confirmation. It's a bug.
    >
    > I dunno when a fix can be incorporated. But the right folks know.
    >
    > Sorry!
    >
    > Bob
    > Adobe Workflow Scripting
    Thanks for the report.

  • Mdb (Modular debugger) question

    Under Solaris there is mdb installed,
    is it able to call a function of a program
    being debuged the way as 'call' in gdb?

    Thanks.
    I read already the appropriate topics in the "Programming WebLogic Enterprise JavaBeans" and played also with parameters initial-beans-in-free-pool and max-beans-in-free-pool, without success.
    I also watched the weblogic servers monitor pages of the MDB, and while he is blocking for some reason instead of starting the next child MDB the "use count" is only 1. For me it seams that weblogic does not recognize that the child MDBs finished working.

  • A question in flash Cs5 debugger

    hi
       my code :
              var  o:Object={a:int,b:int};
              o.a=3;
              o.b=4;
        in cs5 debugger  " var pannel"   o| Object(@1bf1bc9)
       my question is " what is the mean of @1bf1bc9 here ??"

    I don't know for sure, but I think that flash doesn't actually keep the names we give things and changes them internally into various numbers. I'm using CS4 and I see numbers after all kinds of things including the main timeline, the currentLabels array, loaderInfo, everything.

  • JDeveloper 9i - Debugger Usage Question (Urgent!)

    So how do I switch between the client applet and server side in a debugging session. Here is my scenarion:
    1> I start java in debug mode
    set PATH=d:\jdev9i\jdk\jre\bin;%PATH%
    cd d:\jdev9i\j2ee\home
    java -ojvm -XXdebug,detached,port4000 -jar oc4j.jar
    2> You'll see the following message:
    *** Port is 4000 ***
    *** Connect debugger anytime for on demand debugging. ***
    Then, OC4J will start up.
    3> Back in JDeveloper, bring up the Project Settings dialog box.
    Select Debugger on the left side, check the Remote Debugging
    checkbox, and select the Attach to OJVM radio button.
    4> Put breakpoints in my code
    5> When you press Debug button on the toolbar (or from the menu),
    you will be presented with the Attach to OJVM dialog box where
    you enter the host name of the OC4J machine (leave blank if it's
    the same machine) and the debugging port number (4000). Press
    Ok, and the debugger will connect to OC4J.
    6> Next I start mmy web application from the browser using
    http://localhost:8888/property
    7> This triggers my breakpoints.
    ****However here is my problem. At some point in my flow I have to download an applet and I have breakpoints in it that I want to hit. However Jdeveloper just ignores those breakpoints completely.
    So how do I switch between the client applet and server side in a debugging session.
    Please help urgent!
    (Hope Liz Looney-> the debugger pro answers)
    FYI: Jdeveloper9i has a cool debugger!!!

    I have not tested this, but I believe all you have to do is:
    [list]
    [*]Create a new project, and add a test HTML page to it that contains an HTML link to the URL that you are using to launch your applet.
    [*]Right-mouse debug on that HTML page after setting breakpoints in your applet code
    [*]Click on the link in your HTML page
    [list]
    JDeveloper can be simulataneously debugging multiple sessions as once.
    Creating the second empty project gives a simple way to have one project set for remote debugging and the other project set for local (applet or otherwise) debugging.

  • Question about debugger is issuing classesForSignature

    Hello everybody.
    I'm working on a project to implement a dynamically typed language on the JVM using the JSR-292 invokeDynamic infrastructure. Some other members of the team have complained about long pauses during startup when running with the Eclipse Juno debugger, and I've been able to reproduce these in both Juno and Luna.
    The problem seems to be that the debugger is making a jdwp classesForSignature request for each class that has been unloaded, and each request requires the jdwp library to iterate over every single loaded class.
    Since the Java 8 implementation of invokeDynamic & method handles generates a large number of small anonymous classes (which can be GCed if no longer referenced), and we are also quite careful to ensure our own temporary class files can also be GCed away this produces a lot (several thousand) classesForSignature calls, each of which has to iterate over tens of thousands of classes.
    Does anybody know why the debugger is issuing classesForSignature requests for unloaded classes, and if there is some way to stop it?
    Thank's a lot!

    It is possible in the debugger tool
    Once you get the debugger tool, chose from menu:
    Breakpoints->Breakpoint at->Method
    Regards,
    Ravi

  • Newbie question on classic debugger option.

    How to keep the 'classic debugger' as default while debugging.  Otherwise everytime when  I debug, I have to click to 'switch to debugger option'. Do I need to make any option changes?
    Thanks in advance

    Just a small correction as I believe you want the classic debugger all the time.
    From SE38 ABAP Editor screen menu -> Utilities->Settings .
    This will take you to the User specific settings window.
    Click the Debugging Tab.
    Click the Radio Button Classic Debugger , hit enter and you are all set.
    Regards,
    Rich Heilman

  • Question about global variables in Netbeans 4.1's debugger

    so i can see the local variables, great.
    how do i display the global variables when im debugging? searched help, nothing, searched the netbeans site, nothing.
    anyone know?

    I haven't used the 4.1 version of the debugger (I can't get it to work on a single file/class) but under 3.6 you just put the cursor over them and the values is in the tooltip.

  • A question about debugger

    Hi all,
    I wonder if the debugger has the following functionality: I don't set up breakpoints in a program, but when a particular class, say the class "CL_GUI_FRONTEND_SERVICES", is called,  the debugger will stop the program and show where it is called?
    Or is there any other way I can get the similar functionality?
    Any ideas and suggestions are highly appreciated.
    Best,
    Bing

    It is possible in the debugger tool
    Once you get the debugger tool, chose from menu:
    Breakpoints->Breakpoint at->Method
    Regards,
    Ravi

  • Xcode Debugger & Editor questions

    The bottom portion of Xcode's debugger show a blank area with the words "No Editor." Am I supposed to choose or supply one?
    As it stands, I can see the variables, but no code.
    Also, the debugger is not stopping in my "on wake from nib" even though it executes and assigns variables ... perplexed in my first use of the editor.
    John

    John:
    The "No editor" message simply means that the debugger has no code to show. Probably because there is no breakpoint set to stop execution. Set a breakpoint on your sorce code by clicking on the gutter on the left side of an editor window in Xcode. Then select "build and debug". The debugger should stop on your breakpoint and show you the approprite code below.
    Good luck.
    JP

Maybe you are looking for