Edit code while in debug mode in CC

Hi,
I have just upgraded to Flash CC, and can no longer edit code while in debug mode. It appears the code window becomes read only while debugging. This is problematic because I often find it very useful to copy in variable names from data visible in the variables display portion of the call stack. This is very helpful if I have made a typo in my variable names, or if I am reading out data from a network request and I don't know the variable names ahead of time. Is there a way to unlock the code window so it does not become read only during debugging?
-David

Hi Amy,
I appreciate that you are trying to help, and from a purely coding standpoint see the advantages to Flash Builder IDE over the Flash Professional IDE. Although personally I am a Visual Studio kinda guy... However I am working with a fairly large code base, (we are a small game studio that has been working with flash cs4, 5, and 5.5 for the past 5 years) and while nobody that works for me is crazy enough to put code on the timeline, we do have a significant amount of UI elements, dialogs, and layouts that are designed in the Flash editor with logic in classes that extend those elements. Now correct me if I am wrong, but it is my understanding that you cannot build FLA files from flash builder let alone have them link with the classes that are set to extend them in Flash Professional. The move to CC actually gives us access to Flash Builder - something that previously was an additional $500 a seat. While it may make sense for us to use in the future, for now I am faced with the issue of the new Flash CC has removed the ability to edit the code while debugging. I was hoping there was a setting or a hidden option to turn this very unnecessary change off, I wasn't really asking for a critique of my IDE choice.
-David

Similar Messages

  • BDC OK Code disappear during debug mode

    Hi all,
    Currently, I have the following code when call transaction 'FV50':
      WA_OPT-DISMODE = 'A'.
      WA_OPT-UPDMODE = 'L'.
      WA_OPT-DEFSIZE = 'X'.
        CALL TRANSACTION 'FV50' USING IT_BDCDATA
                          OPTIONS FROM WA_OPT
    *                   MODE   ctumode
    *                   UPDATE cupdate
                         MESSAGES INTO IT_MESSTAB.
    Based on the above, I'm able to debug tcode FV50 with OK-CODE popup window, so that I can know the error messages displayed on the screen during debug.
    As the first debug mode of FV50 encountering error message, which I've forced to exit the debug and exit the program (since some G/L do not exist in respective company code), I have maintained the G/L and re-run the BDC in debug mode (Mode = 'A'). However, this time, the OK-CODE popup window didn't prompt up, where I couldn't debug the BDC screen using OK-CODE popup window.
    I have checked the settings in 'Customize Local Layout - ALT + F12' -> Options -> Expert tab -> Dialog Box for OK Code ticked, and I'm not certain why OK-CODE popup window just disappear on the second attempt of BDC debug.
    Appreciate if you guys have any idea on this.
    Thanks and regards,
    Patrick

    Hello,
    If the OK-CODE pop up isn't appearing while running in mode A, it means that the continuity is missing in the recording. You may have to re-record the transaction carefully or if you could analyse the missing link, you could directly add it.
    Also you could run the BDC in mode 'E' if you want to directly reach the point when any error occurs for better analysis.
    Vikranth

  • 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

  • "Thead is being stopped" while in debug mode

    Many DI-API objects (Journal Entries, Goods Issues, to name a couple), cannot be debugged under Visual Studio 2003 (VB.Net). I constantly get the "Thread is being stopped" error, but the code works fine if I don't set any breakpoints.
    It seems to happen more often when I hover over DI-API objects. This, as you may know, tries to pull the data behind the object in a tooltip. I have always attributed this problem to COM and using Interops to get to the methods, but it is getting really annoying. Does anybody else out there have this problem? Have you been able to solve it?
    Thanks in advance.
    Carlos

    Carlos, 
    You are right that it will happen most often when you have a breakpoint on a line that uses a ui/di object, and often when you try to debug those objects.  It can also happen if you have a watch window open that has a b1 object in the list. 
    The only way to completely avoid it (in vs2003) I think is to issue console.writeline's to display the value of the b1 object properties that you're trying to view.  I never have problems debugging non-b1 variables. 
    I also do not get that message in vs2005.

  • Form refresh in debug mode

    I am trying to debug an issue on why my labels are not changing color when I update the forecolor property.  When I run the code below in debug mode I do not see the label change color.  I know my real issue is more involved but if the form does
    not update in debug mode then I really don't know how to isolate the real issue
    lblPlayer1.ForeColor = Color.Gray;

    The control won't update until the form refreshes.  This normally happens when OnForeColorChanged is called but that simply invalidates the window.  The actual refresh happens later after the UI thread finishes processing the current message. Hence
    you might not see it refresh while you're in an event handler as you're processing a message and the message is pending.  Windows processes UI messages sequentially.
    Michael Taylor
    http://blogs.msmvps.com/p3net

  • Edit in debug mode (not at breakpoint)

    Hi All,
    I'm hoping someone can help me with a very frustrating Visual Studio issue. For some reason for my asp.net web forms applications, I can't edit when in debug mode, unless it's currently at a breakpoint.
    Surely if I can edit and continue at a breakpoint, it should also allow me to edit while the application is idle.
    Stopping and starting the debugger is a huge hassle, as the re-build is quite slow.
    Anyway help would be greatly appreciated.
    Just some possibly relevant facts. I'm using Visual Studio Pro 2013, IIS Express, and .Net 4.5.1
    Thanks,
    Eugene

    I don't get any error popup. I just can't edit, as in, the edit screen becomes readonly, and won't accept any input.
    Also in answer to
    Viorel, IIS Express stops after I stop debugging, so I'm not able to access the application that way. This appears to have only started happening after I converted from a web-site to a web-application. Previously IIS Express would continue to run after
    initially being stared by the debugger.
    Just in case it's relevant. This inability to edit also occurred (in certain situations) before I converted to a web-application. As a web-site, when debugging, I could edit code-behind files, but not app_code files.
    This possibly seems to indicate at least it's behaving in a consistent way. For a web-site, App_Code is compiled when the application starts, but code-behind is only compiled as needed, and will re-compile if changed. Whereas for a web-application the whole
    site, including code-behind is compiled before debugging starts.
    Overall I'm finding the application generally more tedious to work with as a web-application than it was as a web-site, which is definitely not what I anticipated before doing the conversion.

  • How to skip a selection screen mandatory field in debugging mode with out changing the code?

    Hi Team,
    In my report there is two fields on selection screen, one is obligatory field , but i just want to execute the report(for testing per pus) with out entering  the data for the mandatory field with out changing the code. could u let me know which event and how to debug the report. or else  in debugging mode how can i change that field as non mandatory field.
    Regards,
    Venkat.

    If the value is not of importance how come it became obligatory in your program?
    Any how you can do one thing...Put some value in your obligatory field, put a debugger point where you are interested in  and use the pencil tool to change the value of the field while debugging. 
    Regards,
    Philip.

  • Detect DEBUG mode in ABAP code

    Hi all,
    Is there a way to detect that we are in DEBUGGING mode in ABAP code.
    I need to determine this, because we have function modules that will be runned in a separate process in the background. If i could detect DEBUG mode, i could choose not to run these modules in the background, making debugging them possible.
    Regards,
    Rob.

    When you debug a program that calls function modules using the IN BACKGROUND TASK addition, they are processed in a background work process (additional internal session). If you set the In background task: Do not process option, the system collects the function calls, but does not start the background work process. The Debugger assigns a transaction ID, which identifies the background work process uniquely. You can now start the Debugger for the background work process using transaction SM58. You can select the function module concerned here, and then execute it via the Edit menu.
    http://help.sap.com/saphelp_47x200/helpdata/en/c6/617d0ce68c11d2b2ab080009b43351/frameset.htm
    There is a system variable SY-DEBUG, not sure if it works, though.
    Regards,
    Subramanian V.

  • Garble code in debug mode

    hi,
    i downloaded a txt file from 3rd party software and upload to sap. all country are ok except 1 country.
    in 1 of the line, there is a character at the begining of the line :
    锘?20:070511
    it should actually be :20:070511.
    this character only can be seen in debug mode. i tried to delete the line and type in manually in the txt file and reupload to sap but the character still there.
    what could be the cause and how to do away with it?
    thanks

    Hi,
    If possible, please use GUI_UPLOAD, if its available on your system.
    CODE PAGE helps identify SAP, which Texts/characters its dealing with.
    Each country has different code page.
    Chinense say 1100
    Best regards,
    Prashant

  • Code runs fine in debug mode but hangs when compiled in release mode

    I am struggling with the following problem. I have code which runs fine when it is executed in debug mode. However, when I compile it in release mode and run the executable, the code freezes and does not work. The code acquires images from a Hamamatsu camera. In the debug mode I am able to continuously acquire images. However, in the release version, the code hangs after acquiring the first image.
    I am using LabWindows/CVI version 7.
    I would greatly appreciate if I can get any help/suggestions in resolving this problem?
    Thanks!
    Regards,
    Sripad
    Solved!
    Go to Solution.

    Sripad:
    If you search this forum for "debug release crash" or "release version crash" or similar phrases, you'll find that this is a pretty common question.  Look through the other posts you find here to see if anything is applicable to you.
    The debug version does some things like padding variables so you can sometimes overrun your declared variable space without overwriting the next variable.  In the release, the variables are packed, so if you overrun one, you are overwriting another.  Just one possible difference.
    You can do some things in your release code to see where things get lost, like (temporarily using printf statements after multiple statements at the start and end of your loop to try to identify that failing line of code.
    Look through other threads to find other ideas.

  • How to determine if the server is in debug mode or Running in Java Code

    Hi ,
    I have a WebDynpro Applcation in which i have to display foll things in Table:
    Engine Name; Engine Version: Debug Mode; Reserved by;
    Now i could display list of servers but i have hardcoded the Debug Mode as "Disabled"
    My Question is:
    If i know the Server, can we find if the server is in debugmode in application code???
    I have OS access to my Engine. Pls let me in which property file can i find Debug Status??
    Also i am not sure if i have posted the Query in RIght Component. DO let e know if this Q is posted in wrong Forum
    Kindly help me solve this problem
    Thanks n Regards,
    Archana

    Hi Archana,
    If u can't start the server in debugging mode thru NWDS then u can try this
    Config Tool:
    U can enable the debuggine mode from the Config Tool as well. Just browse to following
    C:usrsap<SID>JC<SYS_NO>j2eeconfigtoolconfigtool.bat
    Click on the your instance. Then under the tab VM Environment, Set the DebugMode = true.
    Restart the engine now. This will open the J2EE server again in the Debug Mode.
    Please check the [Debugging Portal Applications or WebDynpro Applciation|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/907751e5-f717-2a10-f3b4-de4431d4722d?quicklink=index&overridelayout=true] and search for SDN
    Just hope this helps you!
    Regards
    Vijay

  • Remote Debug mode while starting Weblogic server using my eclipse plugin

    Hi
    When am starting the Weblogic server via my eclipse it is opening in Remote Debug mode. Can anyone tell me how do I change the preferences/configure so that it doesnt run in debug mode.
    NOTE:I have deployed the application and ran number of times, till yesterday it wasn't starting in this mode, though I haven't changed any settings since then, it is starting in Remote Debug mode.
    Thanks,

    The above issue is resolved by adding this to setDomainEnv.sh :
    ALTERNATE_TYPES_DIRECTORY="${WLPORTAL_HOME}/portal/lib/security"
    export ALTERNATE_TYPES_DIRECTORY
    JAVA_OPTIONS="${JAVA_OPTIONS} -Dweblogic.alternateTypesDirectory=${ALTERNATE_TYPES_DIRECTORY}"
    # weblogic extension directories (system jars)
    if [ "${WEBLOGIC_EXTENSION_DIRS}" != "" ] ; then
    WEBLOGIC_EXTENSION_DIRS="${WEBLOGIC_EXTENSION_DIRS}${CLASSPATHSEP}${WLPORTAL_HOME}/p13n/lib/system"
    export WEBLOGIC_EXTENSION_DIRS
    else
    WEBLOGIC_EXTENSION_DIRS="${WLPORTAL_HOME}/p13n/lib/system"
    export WEBLOGIC_EXTENSION_DIRS
    fi
    WEBLOGIC_EXTENSION_DIRS="${WEBLOGIC_EXTENSION_DIRS}${CLASSPATHSEP}${WLPORTAL_HOME}/light-portal/lib/system${CLASSPATHSEP}${WLPORTAL_HOME}/portal/lib/system${
    CLASSPATHSEP}${WLPORTAL_HOME}/info-mgmt/lib/system${CLASSPATHSEP}${WLPORTAL_HOME}/analytics/lib/system${CLASSPATHSEP}${WLPORTAL_HOME}/apps/lib/system${CLASSP
    ATHSEP}${WLPORTAL_HOME}/info-mgmt/deprecated/lib/system"
    export WEBLOGIC_EXTENSION_DIRS
    WEBLOGIC_EXTENSION_DIRS="${WEBLOGIC_EXTENSION_DIRS}${CLASSPATHSEP}${WLPORTAL_HOME}/content-mgmt/lib/system"
    export WEBLOGIC_EXTENSION_DIRS
    if [ "${WEBLOGIC_EXTENSION_DIRS}" != "" ] ; then
    JAVA_OPTIONS="${JAVA_OPTIONS} -Dweblogic.ext.dirs=${WEBLOGIC_EXTENSION_DIRS}"
    export JAVA_OPTIONS
    fi

  • Procedure works in debug mode but not normally

    I'm scratching my head on this and would appreciate any help as to what is happening.
    We have client code that calls stored procedures on an Oracle 10g database. When I run it normally the procedure does not behave as expected. If I try to debug the code it works fine on client until I recompile the procedure again. I don't have the faintest idea why this happens but I'm not sure how to make it work correctly without putting it in debug mode.
    If anybody has any idea what may be occurring I would appreciate the help.

    hmmm, I'm not sure how to do that.
    I do a select against a table into collection then loop the collection as follows:
              FOR Indx IN 1 .. v_Probs_Desc.COUNT
              LOOP
                   v_MyClob := v_MyClob || v_Probs_Desc(Indx);
              END LOOP;
    do some formatting by removing some tags embedded in the text
              v_MyClob := REGEXP_REPLACE(v_MyClob,'<GMT[[:print:]]*:','');
              v_MyClob := REGEXP_REPLACE(v_MyClob,'<GMT[[:print:]]*GMT>','');
              v_MyClob := REGEXP_REPLACE(v_MyClob,'<MAILTO[[:print:]]*MAILTO>','');
              v_MyClob := REPLACE(v_MyClob, '<PERSON', '');
              v_MyClob := REPLACE(v_MyClob, 'PERSON>', '');
              v_MyClob := REPLACE(v_MyClob, chr(13), chr(10));
    Find position of the heading if found (case-insensitive).
              v_End := REGEXP_INSTR(v_MyClob, 'Steps to Reproduce([:punct:])?'||chr(10)||'|Steps([:punct:])?'||chr(10),1,1,0,'i');
              IF ( v_End = 0 ) THEN
                   v_End := LENGTH(v_MyClob);
                   v_Flag := 1;
              END IF;
              IF ( LENGTH(SUBSTR(v_MyClob, 1, v_End)) > 4000 ) THEN
                   v_Text := SUBSTR(v_MyClob, 1, 4000);
              ELSE
                   v_Text := SUBSTR(v_MyClob, 1, v_End);
              END IF;
    --Remove any spaces or newlines from the beginning
              v_Wspace := ASCII(SUBSTR(v_Text, 1, 1));
              WHILE ((( v_Wspace = 10 ) OR ( v_Wspace = 32 )) AND ( LENGTH(v_Text) > 0 ))
              LOOP
                   v_Text := SUBSTR(v_Text, 2, LENGTH(v_Text));
                   v_Wspace := ASCII(SUBSTR(v_Text, 1, 1));
              END LOOP;
    Make sure that the text is less than 4000 bytes so it can be inserted into another table.
              SELECT VSIZE(v_Text)
              INTO v_Size
              FROM DUAL;
              IF ( v_Size > 3950 ) THEN
                   v_Text := 'Created from ' || v_p2t(indx).PROBLEM_ID || '>' || chr(10) || chr(10) || SUBSTRB(v_Text, 1, 3950) || ' ... ';
              ELSE
                   v_Text := 'Created from ' || v_p2t(indx).PROBLEM_ID || '>' || chr(10) || chr(10) || v_Text;
              END IF;
    there's other code but the above code snippet doesn't work outside of debug mode.
    Edited by: dtjasonb on Oct 13, 2009 10:27 AM

  • Cannot read properties files in debug mode .....

    I am using JDeveloper 10g (10.1.3.0.4) and cannot seem to read properties files in debug mode, while it runs fine in Run (non debug) mode!!
    For code like this:
    Properties props = new Properties();
    String dbPropsFile = "/pol_main.properties";
    InputStream is;
    is = this.getClass().getResourceAsStream(dbPropsFile); <---- ERRORS HERE!
    props.load(is);
    I get error messages like:
    "Unable to find source file for package oracle.classloader, filename PolicyClassLoader.java".
    Cannot go any further.
    I am using the "hotspot" virtual machine under Project debug options. Using Sun's
    JDK 1.5 update 6 with Ojvm installed.
    Thanks.

    I think I figured out something. In jDeveloper 10.1.3, open your project properties and click on the Run/Debug treeview branch. Now Edit the Run Configuration you are using (mine is Default) and check the Run Directory. If I change this to be the root of my source, which is one level down from my .jpr file, it now uses my standard path and finds my files. I suppose you could also change this to use the classes directory as the root as long as your props files were there too. My problems seem to be the result of my project root being one folder higher than my source root due to the way our project was imported from CVS. --Ed                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to start the server in debug mode

    HI
    Im working on weblogic server 8.1 sp. My requirement is to run the application in hosted on weblogic server with out restaring the server i.e dynamiically turn to debug mode with out stopping. IM using Log4j method for logging. please let me know how to do it... if any one have sample java code
    Thanks & regards
    shiva

    I am not sure, how can you do it on the fly, but if you want to restart the server here are the parameters you need to add to the java arguments
    -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=$Port
    (where Port will be any port you want to connect to).
    Thanks
    Togotutor
    <b><a class="jive-link-external" href="http://www.togotutor.com">http://www.togotutor.com</a> (Learn Programming and Administration for Free)</b>
    Edited by: togotutor on Aug 12, 2010 3:44 PM

Maybe you are looking for