Viewing complete value while debugging

Hallo Forum,
I hope that I don't post a FAQ but I did not find this one doing some searching.
Okay, here is my problem:
When debugging a stored procedure, I try to get the complete value of a varchar2(4000) variable but I'm seeing just the first 100 characters.
Since I'm building up a SQL for execute immediate, I have to see the complete value in order to get an explain plan.
Do I just miss some configuration option or is that gerarally not possible?
My configuration is SQLDeveloper 1.0.0.14.67 with newest updates installed (these do not change the version number by the way).
I'm running on WinXP SP2 against an Oracle 9.2.0.7.0 running on W2kSP6.
Many thanks in advance,
Lothar

I set a breakpoint and try to inspect the local variables of the procedure.
When I doubleclick on the variable and enlarge the column that shows the value, it is truncated after 100 characters.
I don't know if it's a debugger issue or if the problem origins in SQL Developer because I'm not using dbms_debug outside SQL Developer.
You can hopefully reproduce this by using a test procedure like this:
CREATE OR REPLACE PROCEDURE TEST AS
s varchar2(4000);
BEGIN
for i in 1..10 loop
for j in 1..10 loop
s := s||'('||to_char(i)||','||to_char(j)||') **********';
end loop;
end loop;
END;
When you set a break point at the line where s is appended, Smart Data, Data and Watches show s just truncated to 100 chars.
Regards,
Lothar

Similar Messages

  • How to view cursor values while in DEBUG mode

    I am using SQL developer 1.5.1 and I am debugging my Stored Procedure.
    I cannot find how to view the contents of variables as I step through the code.
    For example, I have the following IF:
    IF NVL(rat_rec.rat_css_agency_cd, -1) != NVL(lclcssagencycd, -1) THEN
    lclupdate := TRUE;
    END IF;
    I want to be able to see what is the value of rat_rec.rat_css_agency_cd and also lclcssagencycd, to see why it is evaluating this IF statement to be true.
    In other words it is saying rat_rec.rat_css_agency_cd is NOT the same as lclcssagencycd, but I want to see what the differences are and need to be able to 'look' at the value of each variable.
    It is NOT showing on SMART DATA or DATA.
    I have not used SQL Developer much before, so must be missing something.
    (In VB, I can debug a routine and then stop on a variable and press SHIFT+F9 to see the contents of the fields. I want to do the same thing in SQL DEVELOPER).

    Yes, I do.
    I am able to step through the code and if I stop on a particular line of code, I want to be able to evaluate the variables or cursor fields that I am on to see what their contents are.
    Sean

  • Xcode how to inspect a value while debugging

    Hi all,
    I'm new to Apple development, and was playing around with the debugging feature in xcode lastnight. All the features look great except i cannot find a way to inspect a value on a highlighted text of code(hopefully this make sense). i know i can inspect values that are held in an object (after the object is created), but what if i want to inspect a value that is not going to be held in an object? i.e. in Eclipse (java development), while in a break point, i can highlight a piece of code (e.g. new Date()) and then inspect its value. not sure if there is a way to do the same thing in xcode 3.
    thanks heaps, Jess

    I understood the question, I just didn't understand why a person with healthy eyes would ask it in the first place.
    u can aks sum1 eles tho lol gu luk

  • Problem viewing cursor value in debug mode

    Hi eveybody!
    I'm French and new here.
    I know some topics deal with my subject but I don't really understand.
    Here's my environnement :
    Win2000 / ORA 9iR2 / SQL DEVELOPPER 1.0.0.15.57
    As some people say when i'm in debug mode (after compiling my procedure PL/SQL for debug) I can't see any value of my cursors !
    Ex :
    CURSOR cur IS
    SELECT COL1, COL2
    FROM TABLE1;
    v_cur cur%ROWTYPE;
    For v_cur in cur
    Loop
    If v_cur.COL1 = 'toto' then
    'do something' ;
    End if;
    End Loop;
    When I run this step by step in debug mode I can't see the data of my cursor in the data or smartdata pane.
    The values of my cursor is allways null !
    I guess I'm not the only one to see that bug.
    My question is should I wait a new release of sql developer or is there any solution for this problem?
    Anyway I want to congratulate the developers team who create this tool which is fabulous! It makes me forget TOAD and it's totally free.
    Thanks a lot for this job.
    Greg

    Here is a piece of code I use:
    CREATE OR REPLACE PROCEDURE sm_list AS CURSOR emp_cursor IS
    SELECT d.department_name,
    e.last_name
    FROM departments d,
    employees e
    WHERE d.department_id = e.department_id;
    emp_record emp_cursor % rowtype;
    BEGIN
    FOR emp_record IN emp_cursor
    LOOP
    DBMS_OUTPUT.PUT_LINE(emp_record.last_name);
    END LOOP;
    END;
    With this example, I agree, the smart data is null. Logged a bug. However, note that I do see values in the data tab and can modify and watch these values.
    When using cursors I've been looping and then fetching into cursor records, i.e.:
    FETCH emp_cursor
    INTO emp_record;
    emp_tab(i) := emp_record;
    and then the values display in the Smart data and data tabs.
    Sue

  • SQL Developer - viewing table data while debugging

    Apologies if this is in the wrong forum.
    I'm using SQL Developer to debug a complex stored procedure line by line. There are a lot of inserts / updates / deletes in the procedure and I'd like to be able to view the data in the relevant tables after each statement has been run to see the effect of each statement.
    Trouble is, when I try to do this, SQL Developer shows the contents of the tables as if they have been unaffected by the stored procedure. Is there a setting somewhere or some type of locking I can use to see the data changes as they happen?

    Only the session that is inserting the data can see that new data until the session issues a commit, so I would doubt that you could do this. You probably want to a) view the data before the insert or b) (ugly but should work) put a trigger on the table being inserted so it inserts a copy of the data to a tracking table. This procedure will have to have the AUTONOMOUS TRANSACTION pragma in order to not be held until your debug session commits.

  • How to find the memory values while debugging

    Hi Friends,
    In an ABAP program I have exported some values to a memory id. in debug mode where can i see these values. Could any one tell me....Helpful answers would be highly rewarded..!!
    regards,
    Ramineni.

    Hi
    In debugger you need to put the memory Id name and you will be able to see values where you export them.
    regards
    Aditya

  • Manually Update Values While Debugging

    In various other code debuggers (MS Visual Studio, GNU Debugger (gdb), etc) while execution of a program is paused, I can manually change the value of variables within the program.
    Is this possible in LabVIEW 8.2?
    Solved!
    Go to Solution.

    No. Vote for the idea.

  • How to change the Value of a Varible while debugging in ECC 6.0

    Hi all,
    How can i change   and Save the Value of a varible while debugging a FM in ECC 6.0.
    I can able to change the Value of a variable by clicking the Pencil Icon (Change icon) which is there next to that value
    But i am not able to save that value
    Please give the suggestions
    Thanks in Advance
    Regards
    Ajay

    Ajay,
    I think you are changing more than one variable value at a time...this things generally happen in this case.
    Go step by step.....
    Press on the pencil button
    value filed becomes editable
    change the value
    and at once press the enter
    the ediatble field automatically becomes non editable, and hence retain the changed value.
    Pooja

  • Change value of field name while debugging

    Hello,
    i need to debug the user exit . i made the break points .
    the problem that i got is , while executing the t-code kgi2 , i get like 100 records in a table and i have to check for the particular value at number 50 and 70 .
    But when i debug , the debugging starts from number 1 and it takes lot of time to reach to number 50 .
    I wanted to chnage the value of the field while debugging . i tried to click on the pencil on the right and chnage the value but i get the message "no authorization for replace".
    Anybody knows how i can reach to number 50 directly without going to all 49 values .
    please help sap gurus .........
    Sumit
    Edited by: sumit123 on Apr 15, 2010 11:48 AM

    Hi summit,
    In the dubugging
    click on watch point button.. you will gte a poupup
    asking for fieldname  ie : which field value u want to check
    say in your internal table matnr is one of the field and if you have 1000 records and if you want to check for a particular value
    then  given as below
    in the field name =  wa_itab-matnr
               option     =  =  ( euqal )
               value  = 200 ( your rquired value )
    click on ok button
    wtach point will be create now press f8 it will stoed at that particular loop pass ie : when your condition is met.
    Let me know if you need any further info
    Regards
    Satish Boguda

  • How to have a tree view for value node..

    Hi all,
    I need to display a tree view for a value node in web ui  just like a model node, for a custom view in a pop up. Please guide me  how to do this or let me know the process steps.
    Thanks in advance.

    Hi All,
    while debugging I found that in class CL_BSP_WD_CONTEXT_NODE_TREE , the method GET_T_TABLE the below code is not triigerring for the child node attributes ( to trigger the get method of attribute for value node).
    this call method is not triggering at all only for first coulmn its triggering ..
      LV_TN ?= ME->NODE_MAPPER->GET_NODE_OBJECT( <LINE>-NODE_KEY ).
        CONCATENATE 'GET_' COMPONENT INTO LV_METHOD.
        TRY.
            CALL METHOD LV_TN->(LV_METHOD)
              EXPORTING
                ATTRIBUTE_PATH = ''
              RECEIVING
                VALUE          = VALUE.
          CATCH CX_ROOT INTO LV_ERROR.
    I created the GETTER method inthe class CN01 and CN02. But those methods are not triggered in CALL METHOD LV_TN->(LV_METHOD). Even that class CN02 is having the  same methods. Those methods are already Implemented. May I know what was the reason Why those methods are not triggered ( getter method ). With out that Method data will not display in the Tree view. Can anybody tell me the reason why it is not happenning?
    .Please find the below .HTM code  as well.
    <chtmlb:configTree
                          actionsMaxInRow       = "5"
                       id             = "Table1"
                       nodeTable      = "<%= ZTREEVIEW->node_tab %>"
                       table          = "//ZTREEVIEW/Table"
                       noFrame        = "FALSE"
                       personalizable = "TRUE"
                       onCollapseNode = "NODECOLLAPSE"
                       selectionMode  = "MULTILINEEDIT"
                       onExpandNode   = "NODEEXPAND"
                       onRowSelection = "select" />
    Only one column was triggered another column did not get any value becasue of the above method call fail.. We are not restricted anywhere to display one column value in the output.   Even in Debugging I checked that LV_METHOD  is having the method name. CN02 class is also having the  same method, But it is not going into the method. It is coming out side. What could be  the reason I could not able to understnad.
    Please provide me some pointers on the issue....
    Thanks in advance..

  • How to see data while debugging

    hi all,
        I'm running one hr report , it takes 1hr to execute. I want to see , how many lines it is executed and how many records in the internal table filled, and ....
    Is there any t.code to view this data , .
    thanks in advance
    Naveen

    Naveen,
    It is VERY to the power of INFINITE important to know how to use the DEBUGGING concept.
    TABLE:- You can give the internal table name here and check the amount of data that got fetched once the select statement got executed.
    Fields:- You can see the what is the value that got stored in any of the fields that are used in the program.Suppose if you want to know what itab-makt has got then go to fields button and give the field name as itab-makt and press enter.This will show the data it is having when the execution point reaches this field.You can see at the maximum 8 fields in debugging.
    Break-point:- If you want to know whether a particular syntax is getting executed or not,if getting executed what is the result,then you can select that particular synatx in the program and press the STOP button.This is what they call "put a break-point at that line".
    Watch-Point:-Suppose you want to see what the field itab-makt is having then you can create a watch point on this field and run the program.Once the wathcpoint is reached the system will give you a message in the status bar saying that the watchpoint has reached.Thus you can run your program upto a point and see the value that got stored at that point of time.
    Overview:- It let's us know the processing blocks in the program that is currently running
    Call Stack-I don't know.
    Settings:-I don't know.
    The buttons
    F5-Single step
    This way you can run the debugging step by step,I mean each and every line of the program.
    F6, F7
    This way you can jump the performs and loops while debugging.
    F8
    Execution
    if you have any doubt revert it.
    K.Kiran.

  • What's the complete value of integrating BPA and BPEL?

    Hi all.
    When I look at the original ARIS platform, honestly I don't see a tangible value in automating the BPEL geneation. The amount of BPEL code automatically generated is only the "less painfull step", something that I can quickly create by hand directly in JDeveloper BPEL Modeler by simply looking at the published business process from ARIS. The amount of time spent recreating what is generated is not relevant for many processes, and you have the flexibility of creating activities with your own naming conventions.
    Now, when I look to 10.1.3.3 Oracle BPA, with its new features of generating BPEL code direcly in JDeveloper, I still don't see a great value there. Again, if I have a business process just published somewhere, I can look at it and easily construct the BPEL process by myself.
    Having said that, I guess that all this effort from Oracle in providing integration between BPA and JDev, with a "shared blueprint" model has much more bussiness/techinical value than just generating BPEL buinding blocks. This is really what I need to understand. What are the complete value for having all this integration?
    Could be:
    Reverse engineering?
    Closed loop between products, facilitating change management?
    Can you guys provide me a clear statement listing all the capabilities/benefits of this new features?
    thanks
    Denis

    This unique value-generating approach of having the shared metadata - Process Blueprint between the modeling and execution environments enables both business and IT to work off a shared process definition.
    Automatic translation of business requirements in to BPEL processes: Once business decides that a process blueprint is ready for sharing, IT can access and edit it from within their environment. Rich process definitions get generated from the Blueprint promoting rapid and meaningful process automation and reducing the strategy to implementation gap by translating the business requirements directly in to almost ready to deploy BPEL process definitions.
    Alignment of business model and IT process: The executable process is always in lock step with the business process model. Business users can create and change business models in the Oracle Business Process Analysis Suite while IT users can view and modify these processes in parallel using the Process Designer component of the Oracle SOA Suite.
    Empowerment of both Business and IT: The Blueprint also supports bi-directional synching enabling both business and IT to work on the same process at the same time. Business level changes can automatically be merged with any changes done by the developers to ensure that the implemented process is inline with the expectations of the business users. Further, IT can make changes to the blueprint that then become visible to business users as proposals for improvement.
    -cheers,
    Meera

  • How to find list of internal tables while debugging

    Hi Experts,
      I am debugging a block of an ABAP program( User Exit ). Is there any facility to see what are the internal tables, work areas are available for that particular block? Can I see it new debugger? Because I don't know from which internal table I can take a particular value, which I need to populate in an user exit.
    Thanks and regards,
    Venkat.

    hi,
    you can find the exact  answer here :
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/840ad679-0601-0010-cd8e-9989fd650822#q-6
    under heading List of internal tables while debugging
    regards
    rahul

  • Flex 2 Builder: Variables view pane & AS3 component debugging.

    The problem is as follows:
    A supposed ComponentA (ActionScript 3.0 class component in
    package components.* & extending mx.coreUIComponent) is placed
    in the main application:
    // script
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns:components="components.*">
    <components:ComponentA/>
    </mx:Application>
    ComponentA has it's methods, variables, etc... but none of
    them are listed in the Flex 2.0 Builder's Variables view-pane while
    debugging the application. Actually, nothing at all is listed there
    - the view-pane remains empty.
    So far, I haven't found any reference to this situation in
    Flex 2.0 documentation or anywhere else, so I would appreciate any
    suggestions on this issue.
    a.neko
    (sorry for the accidential double post)

    Can you ensure that the SWF your are debugging is a release SWF?
    I've recently fixed a bug (which is not publicly available) where the same stacktrace was visible:
    A release SWF loads a debug SWF via SWFLoader/ModuleLoader, etc.
    Making sure the main container SWF is a debug one. That should fix this problem.
    (You can check whether a SWF is debug or not by opening it in nemo440 (google for that) and looking for debugfile / debugline opcodes.)
    Let me know how it works out.
    Cheers,
    Anirudh

  • Redefined method is not getting triggered while Debugging

    Hi Experts,
    I have a requirement wherein I need to desplay Role information in Header level. To achieve this I have enhanced component ICCMP_BP_DETAIL and Window ICCMP_BP_DETAIL/MoreWindow. I have redefined method IF_BSP_WD_HISTORY_STATE_DESCR~GET_STATE_DESCRIPTION of class ZL_ICCMP_BP_MOREWINDOW_IMPL. But, surprisingly, while debugging, flow is not coming to this redefined method, though it was coming in standard method. Please guide what can be the possible reason for this.
    Regards,
    Keya
    Edited by: Keya Sit on Oct 14, 2009 2:32 PM

    Hi Keya,
    Hope you have activated your redefined method. Also check the configuration for controller replacement in SPRO and check the View Cluster-BSPWDVC_CMP_EXT.
    Regards
    Prasenjit

Maybe you are looking for

  • PI 7.1 /EHP1 /Rosettanet

    Hello , Wanted to know about PI 7.1 for EHP1 and its compatibility with rosettanet. Is there any article or known issues? Thank you.

  • Consolidation Error Documentation (CSD)

    Hi all, I have recently ended upon a consolidation engine error (CSD-070, CSD-080). Searching in the forum I have see some threads talking about some documentation about these errors. Could anyone please send that documentation? About the CSD-070 (No

  • Calculating Profit of COGS - different ways of calculating

    I found that in SAP B1 the profit calculation varies and it depends on where you look and the different settings allowed. For instance: I am talking about the calculation method of COGS: 1. In System Initialisation/Document Setting one can set the wo

  • Desktop multiplayer ping-pong game

    Hello all, I've come here to seek advice related to my university project. I am almost a complete newbie at Java - during the past years I've only done programming in C, C++, Symbian and PHP. I remember doing a project in Java on the first year, but

  • Getting Rid of Norton Anti virus

    I tried this posting before so far nun of the suggestions seem to work.. this time, i thought i would share some screen shots for you all to see if maybe that would help. So t his is my current system and in this screen in the booted up system you ca