Method of debugging in form run mode...

Hello.. fellows...
I use forms6 and i am beginner,
so i have a problem in debugging
How can i process debugging in run mode
i execute forms6 module in debug mode
and make break point in procedure
in menu, there are many icons(step into, step over, step out.. etc) but all of this
icon are not available.
how can i resolve this problem
i am beginner .. please.. help me.!!
thanks for reading..
null

yoyolk wrote:
I guess I did not express my question correctly. What I meant is I can use a while loop to create a dynamic interface. I can activate or disable a variable (control) by push the green botton before I hit the RUN button to continuously execute the VI. However, when I activate the control, for some reason I can not change its value. I just wonder how I can change the value of a control in such a dynamic interface.
A couple of red flags here:
As others have said, since you don't show the labels on the diagram, we cannot tell what's what. We also cannot see what's in the other frames of the sequence. Please attach the actual VI instead.
Your "disabled" property is either 1 (disabled), or 2 (disabled&grayed out), never zero (enabled). Unless it is enabled, you cannot operate it!
What is the point of your while loop that seems to spin at near infinite rate while consuming all CPU, rewriting he same properties over and over again. A property remains set until changed to something else, thus they only need to be written when the property needs to change.
.... and what's the purpose of the stacked sequence, just to hide code even more?
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • Developer 9i - about forms running mode, please

    Hi,
    I installed developer 9i. created a simple base table block. clicked on Run form then it opened in a internet explorer browser and it will take some time to load applet etc. How to run the form without getting into IE Browser, just like in forms 6i. Is it possible in 9i?
    Please...
    Thanks

    You really are behind the times with Oracle news.
    9i is web only. Controversy about the desupport of client server deployment has been going on for years.

  • MySQL query works fine for Debug mode not during regular run mode

    Hello fellow Java gurus,
    I'm very much confused at the moment. I have an Java application that populates and accesses a MySQL database. It's a little complicated to explain but basically I've got a few threads that manipulate it. The database itself can handle multiple client connections.
    Now, my first SQL query determines whether records exist within a particular timeframe, since one of my columns is a time of arrival (toa). This works fine in debug and normal run mode. My second SQL query is only executed once the first query returns true, which occurs 100% of the time. The second query is very similar, however, has the very weird behaviour of working the way I want it during debugging mode, but doesn't work at all during normal run mode. I really do not understand. I've tried running the 2nd query using the same connection and also a different connection as to the 1st query but it really doesn't make a difference to the non-working outcome.
    If anyone has any ideas as to as to why this is happening, please help me. Any feedback would be greatly appreciated. I am desperate at the moment.
    Kind regards,
    Mitch.

    Sorry everyone, I've been able to solve it. My boolean variables were being set to their opposite values! Silly me.... cheers anyway....

  • Weird behavior: Throws an error while debugging/Run mode, but doesn't when project is built

    Hi there,
    I am trying to see if I could get some help on a strange situation:
    I am developing a desktop application with few window components (like music window, rss feeds, photos window, etc). I am trying to have a checkbox in the "preferences" component which will disable or enable the appropriate window component.
    When I am trying to test this checkbox in my application (in either debug mode or 'run' mode) an error is being thrown which I am not able to figure out why this error occurs (though I know its complaining about Null object reference). But when I am building the application with "Export Release Build" option and installing the application on my desktop to test the same checkbox - it works!! I am not sure why this is happening. Any help?
    Can you tell me why it's not complaining about Null object when I build the project or how to overcome this problem?
    This is the error:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at Components::ComponentContainer/getComponentData()[/Users/Desktop/projects/DesktopLauncher /src/MyComponents/ComponentContainer.as:48]
    at Function/http://adobe.com/AS3/2006/builtin::apply()
    at SetIntervalTimer/onTimer()
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()
    Thanks in advance.

    Can you post the code at ComponentContainer.as line 48?
    Also, make sure the debug SWF is up to date; delete it in bin-debug, make a change to ensure the new one has come up.

  • Can you "debug" a form when running on the App. Server?

    We recently got a project to do defect fixing of a Oracle Forms 10g application.
    They have given us each developer a VM with an app. server, source code etc.
    Problem is, we cannot run the form using the Form Builder.
    They want us to always make changes to the form, deploy in the app. server and run the form using the Application Menu.
    Problem is, how can we do line-by-line debugging in a situation like this?
    Normally, we would press the "Run form debug" button to run the form in Forms developer in debug mode.
    What is the solution?
    Should we ask the owners to give us permission to run the form from Developer?
    Or, is there way to do debugging a form when running from app. server?

    user12240205 wrote:
    So Craig, why is it prompting me with a File Open dialog box when it tries to run a DB procedure?
    What does the Forms debugger supposed to do? Run it and bring back result?
    Because Forms doesn't know how to load the object so it is prompting you to open it.  However, since the Forms debugger can't read the source of the database program unit (procedure, package, function) - you can't debug it from Forms.  At least, I've never been able to do it and I've tried making Forms open a source file for a database program unit.  It basically boils down to the fact that Oracle Forms can only debug objects that are within the scope of the Forms runtime/builder and database program units are not contained within the Forms objects (eg; Forms binary, PL/SQL Library or Menu Module binary).  I recommend you "Step-Over" any call to a database program unit when you encounter them in the Forms debugger.  The database program unit will take longer than normal to run, but it will eventually finish and take you to the next line of code to be executed.
    Craig...

  • FRM-40208: Form running in query-only mode. Cannot change database fields.

    Hi,
    I am using forms 6i where it is calling a form from a menu in query like call_form(,query_only). Now an error is occurring on call of that form ‘FRM-40208: Form running in query-only mode. Cannot change database fields.’ Though this is been handled to give a certain message from on_error message from a package from library.
    Now the issue is that the error keeps on popping even after the ok button is pressed. There are number of records from the table. How can we handle the error. Any suggestion would be really appreciated!!!
    Regards,
    Rajesh

    thanks Gred but i have resolved the issue. it seems that each row was going into query_only mode (program written such a way). therefore the error was showing even after the OK button. handled the issue from ON_ERROR trigger. anyway thanks for your time Gred!

  • How can i debug a Form in 6i environment

    I want to debug a form in 6i environment. WIth trace utility can i do it?if yes pls help me in this

    Why not just use the "Run Form Debug" toolbar button or Program => Run Form => Debug? Just simply type "break;" in the trigger or Program Unit you want the Debugger to break in and step through the code to see what is happening. Running the Form in Diagnostics Mode as Draji suggests is an excellent option as well, but reading the output file can be a bit daunting and doesn't let you "See" what your code is doing. The Forms debugger is an excellent tool. It is well worth learning how to use.
    You can also turn Debug Messages on - which basically just displays an alert with the name of each trigger that executes. You can turn on the Debug Messages from: Tools => Preferences => Runtime tab => Debug Messages checkbox.
    Hope this helps.
    Craig...

  • Enabling/Disabling of stop button for Tomcat in MyEclipse in Run mode.

    Hi,
    I am very perplexed by the behavior of the Server option in MyEclipse 4.1.1 over Eclipse 3.1.2 using Tomcat 5.5.17.
    When I start the server in Debug mode, the behavior is just fine. i.e. the stop button/option gets enabled and the Start button/option gets disabled when I start the Tomcat server.
    But in the Run mode, the Start option does not get disabled and the Stop option does not get enabled when I start the server, so I have to guess/rely on the console to see if an instance is already running.
    If anyone is having the same issue/behavior, and did something to correct it, please respond or point me in the right direction.
    I have already:
    1) Downloaded a new instance of both Eclipse and MyEclipse
    2) Created the whole workspace again after deleting the .metadata
    3) Tomcat is a part of our configuration management software so everyone uses the same version.
    Edited by: nimraj on Apr 3, 2008 7:17 AM

    Hi Sumit,
    just add one more attribute of type wdy_boolean, and bind this attribute to readonly property of button by coding.
    then as per your cell value set the attribute value, below is the some sample code.
    METHOD wddoinit .
      DATA: lv_node TYPE REF TO if_wd_context_node,
            lt_mara TYPE ig_componentcontroller=>elements_mara,
            wa_mara TYPE ig_componentcontroller=>element_mara.
      SELECT matnr
             ersda
             ernam
             mtart
             matkl
             meins FROM mara INTO CORRESPONDING FIELDS OF TABLE lt_mara
                                     WHERE meins = 'GM' OR meins = 'CCM'.
      SORT lt_mara BY meins.
      lv_node = wd_context->get_child_node( name = wd_this->wdctx_mara ).
      LOOP AT lt_mara INTO wa_mara.
        IF wa_mara-meins = 'GM'.
          wa_mara-readonly = 'X'.
        ELSE.
          wa_mara-readonly = ' '.
        ENDIF.
        MODIFY lt_mara FROM wa_mara TRANSPORTING readonly.
        lv_node->bind_structure(  SET_INITIAL_ELEMENTS = ABAP_FALSE
                                  new_item = wa_mara ).
      ENDLOOP.
      lv_node->bind_table( new_items = lt_mara ).
    ENDMETHOD.
    Regards
    Srinivas

  • How to debug d2k form.

    hello ......
    please let me know how to debug a d2k form?
    thanks n regard
    yash

    You can also set breakpoints in your code you want to debug. e.g. if you want to debug a specific trigger like WHEN-BUTTON-PRESSED, then put BREAK; statement from where you want to start debugging.
    You can also set breakpoint in the debugger itself by opening specific trigger and double clicking the line of code to start debugging.
    For running in debug mode, press SHIFT+CTRL+R and then step into the code like FormsEleven explained.
    Hope it helps!

  • Please help me on Debugging the Form

    Hi All,.
    Can anyone please give the steps for Debugging the Form:
    -Actually i am trying to know what is happening when we are working with the Forms(Front End) and
    -what are the triggers firing in the backend
    - What are the Program Units are calling
    -What is complete flow,..
    -How the data get populated on to the screen from backend
    Please give the complete steps, coz i am new to the Forms & Resports.
    Please help me on this with complete steps & Documentation.
    Thanks,
    grac

    hi
    i hope it will help u too.
    here is the instructions.
    -Click on Button “Debug” on toolbar of forms, (icon like a “bug”), will active debug_mode;
    2-Execute the forms (Run);
    3-The Forms will show a windows “Forms Debugger” with 3 panels: -The first is “SOURCE PANE”, showing your source code of procedure or trigger that is running; - The second, is “Navigator Pane”, shows a tree of objects to debug; - The third is “INTERPRETER PANE”, where you do pl/sql code to run; Go to second frame(Navigator Pane) and expand node “+MODULE”, select your forms module(click on it);
    4-Open the tree, navigate until your trigger that you want to debug (or to debug ALL CODE select menu “DEBUG” -> “Trigger” and choose Location=”Every Statement”, and write “raise debug.break;” on field trigger_boddy)
    5-If you want to debug a specific trigger of a text_item, go to block, select the text_item, then select the trigger, the source code will show in “source pane”;
    6-Go to menu “DEBUG” -> “TRIGGER” and write “raise debug.break;” on field trigger_boddy (or do a double click over a line code that can be debuged); When the forms run, and run this trigger, the run mode will be “suspend” and forms return to this page of “DEBUG”, where you can view values of any variable, values of block_itens, values of SYSTEM variables and go to a “step by step” running your code line to line, and view changes on variables;
    7-In this step, you setup the debugger, to run now, click on red “X” to close debugger, the forms will be run;
    8-You go run until the code marked to break; The cursor will stop on first line that is running (Source pane) with a signal => on the line;
    9-Now you can run line by line; entire block or return to normal run (see buttons enables);
    When debugging, explore the Navigator, and see anothers variables values like :system.current_record; :system.record_status; :sytem.message_level; Global variableshttp://www.orafaq.com/forum/t/140073/0/
    sarah

  • How to debug a program running in background ?

    How do we debug a prorgram running in the background ?
    Is BREAK-POINT statement is used for this or ne other method exists
    I have gone thr the standard documentation help for BREAK-POINT Statement, but not getting it.
    Regards,
    Nitin

    Hi Nitin, try to do this:
    1. use the following code instead of break-point:
       data a type c.
       do.
         if a = 'X'.
           exit.
         endif.
       enddo.
    2. while the program is running in background, launch transaction SM50.
    3. select the program in the list and choose Program/Mode -> Program -> Debugging
    4. at this point the program should stop in the infinite loop. to exit from the loop, set the variable a to 'X'
    Best regards, Manuel

  • Debugging Adobe forms in ISR framework

    Hi,
    I have created a Adobe Interactive form (on the SAP side) which is using the Internal Service Request framework (ISR). Before when I used the JSP forms I could create an external break-point in the ABAP code of BaDI QISR1 and debug it when running it on the portal, however when using the Adobe forms it seems not to work. Does anyone know if there is a way to debug the ABAP code called by Adobe Interactive forms?
    Thanks in Advance,
    Michiel van Rhoon

    Hi Michiel,
    You can do it by setting an external breakpoint in your code. Then login to the adobe form with the same user specified for the breakpoint.
    There could be a problem that you login to the portal with your name, but that the Adobe form logs in with the standard j2ee admin account. Please check your JCO connection then (authentication must be set to Ticket, instead of User/Password). This is a WebDynpro JCO connection by the way
    Noel

  • Debugging Smart form-Shipemnt-Driver program

    Hai,
    I have created a smart form & output type configuration is done for shiptment.
    scenario 1:
    I set a break point in driver program.When I go to VT02n & entered the shipment number & follew the below steps in the VT02n scree.
    1.select Shipment->output->screen
      enter the ouput type in the displayed popup.
    now the control is going to the code where I set the bbreak point.This is fine.
    Scenario 2:
    I set a break point in driver program.When I go to VT02n & entered the shipment number.
    Hit enter.got the edit page screen.
    now GOTO->OUTPUT
    here I selected the relevant output & followed the procedure to repeat the output again.
    in this case the program not stopped at the place where I set the break point.
    Can any one have any idea this?Why is it happening?

    Hi Bhaskar,
    If you want to debug your smartform then do as follows;
    How to debug smartform in display mode for a particular node.
    Steps to debug a particular node:
    1. Execute the required smartform and take the function module name from there,do not enter into that function module.
    2. in SE38 search for programs by the function module name,
          for eg., if the func module name is /BCDWB/SF00000024 then  search parameter for f4 would be
      /BCDWB/SF00000024, this would give u 4 to 5 prgs in the search list,
       these are the include files which it create for the same smartform .
    out of this open the prg with the name  /BCDWB/LSF00000024F01 in SE38.
    3./BCDWB/LSF00000024F01 - this include file actualy containes the code that we type inside smartforms.
      every node or the windows that is added to the smartform is coded in FORM...ENDFORM ,
      inside this include file.      
    4. FORM look like this .
      FORM %C01.
    NODE CODE5 - this is the name of the node in smartform   
       for the prg line node 'code5',name of the node, coding is inside this form.
         so u can easily put a break point here at this point . 
      ENDFORM.
    like this for every node the FORM is created , u can search for required node and but a break point.
    Hope this information will be helpful to all.

  • How to debug a form module (Oracle 11G Forms) through URL

    How to debug a form module (Oracle 11G Forms) through URL.
    My server OS is Unix. So i could not able to do the Debug Forms from the Form Developer.
    It is displaying a message that "Cannot find the module". Becuase the system is trying find out the module in Unix system instead of ma local system(Windows).
    I need to debug ma module through URL.
    I can place the fmb and fmx in predefined form path in Server.
    Please help me out to solve this issue..

    This is a little unclear. If your goal is to use the Forms Builder Debugger while running your form on a Unix machine, this can be done. However, the form must first be in running order. So before trying to attach the debugger you must first be able to start it without the debugger. For example:
    http://yourServer:OHS_port_number/forms/frmservlet?form=yourFMX
    Once this is properly running you can turn on debugging. If your form won't even start, then using the Debugger isn't going to help you because it is designed to troubleshoot coding problems and not configuration problems.
    So, do this to use the Debugger:
    http://yourServer:OHS_port_number/forms/frmservlet?form=yourFMX&debug=yes
    This will display a dialog box with some information. Do not click on OK yet as you will need this information to enter into the Forms Builder. Now, open the Forms Builder and click on Debug > Attach Debug. You will be asked for the information displayed in the dialog where you attempted to start the form. Enter it here (in the Builder) then click on ok in both places. To display the Debugger (in the Builder), click on Debug > Debug Console. Then from its toolbar click on the buttons related to what you want to monitor. Including a break point in your application code is often a more helpful way to use the debugger.
    Most of this information is explained in the Forms Builder Online Help
    Forgot to mention...
    To debug runtime issues, refer to the Forms Deployment Guide here (this assumes you are using 11.1.2):
    http://docs.oracle.com/cd/E38115_01/doc.111210/e24477/appa.htm
    Edited by: Michael Ferrante (Oracle) on Feb 21, 2013 1:45 PM

  • Cannot use "Edit Mode" property to dynamically open a VI in "run mode"

    Hello,
    I am trying to dynamically open a vi, and would like it to open up in run mode when dynamically called. I am trying to use the "Edit Mode" property to do so by setting it to false before the vi is actually opened by the Open method. However, it always seems to open up in edit mode. Am I doing something obviously wrong here?  I am enclosing a screengrab of the vi.
    Regards
    -Ted
    Attachments:
    openvi.jpg ‏78 KB

    You should use the method Run VI, if you want the VI in the 'Run Mode' without actually running (like ctrl-m), I have no idea how to do that.
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

Maybe you are looking for

  • IE 11 Application Hang. Reason Unknown

    IE 11 hangs and stops responding on one of our pages. The page relies heavily on JavaScript and crashes during one particular action the user takes. While running the IE 11 debugger, everything seems to work correctly. It makes it through all the jav

  • IChat vs. Skype

    I have been using Skype for one year almost pretty much daily to audio and video chat with friends in Nigeria and Guatemala. I use Skype because the quality of iChat over the exact same connections is unusable. I am extremely disappointed with it.

  • How MVC related to ABAP Web Dynpro?

    Hi I am a java guy....Can you please explain me how MVC related to ABAP Web Dynpro. In java we have views, controllers and model..but in web dynpro abap i didnt find any model and they are writting all the businness logic in view only. They are not u

  • Error file share not managed but fabric- provider/fileserver and hyper-v host show managed/responding

    Hi, I am really puzzled by the following situation. I have a SCVMM 2012 R2 cluster that manages a Hyper-V host cluster on windows 2012 r2 and storage attached by SOFS Cluster on windows 2012 r2. There is 1 share - CSV1 for all VMs. Under Fabric -> Pr

  • CS Upgrade With Apple iMac OSX Mountain Lion

    Does any one know if Adobe has a software download patch to be able to use Photoshop CS Upgrade with a new Apple iMac OSX Mountain Lion please?