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.

Similar Messages

  • Help debug mode: Stops at breakpoint, but line is not highligted, no actions selectable

    I just reinstalled Pydev and now debug mode no longer works.
    I run a program in debug mode. Without a breakpoint, the program runs through. When I set a breakpoint, the program pauses, as it should, but the code line is not highlighted. This also means that none of the debug actions are selectable (step into, etc.), although they are visible. I only have one breakpoint.
    The 'debug' option (next to pydev and java options) is selected.

    On 08/09/2015 02:31 PM, ttt bbb wrote:
    > I just reinstalled Pydev and now debug mode no longer works.
    >
    > I run a program in debug mode. Without a breakpoint, the program runs
    > through. When I set a breakpoint, the program pauses, as it should, but
    > the code line is not highlighted. This also means that none of the debug
    > actions are selectable (step into, etc.), although they are visible. I
    > only have one breakpoint.
    >
    > The 'debug' option (next to pydev and java options) is selected.
    Unfortunately, PyDev isn't Eclipse. It's a set of third-party plug-ins
    you'll have to get support for in another forum.

  • 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....

  • Working in Debug mode, not after building the installation.

    Hi,
    I have a button to launch a form.
    When I test it in debug mode, it works fine.
    But, after making installation, if I do the same thing (press the button), I'm getting the following error:
    Unexpected end of file while parsing name has occured. Line 1, position 2654.
    Also, we have few add-ons operating on sales order.
    When we open the sales order in client site through RDP, there is continuous flickering/refresh.
    In in-house, we don't get that problem.
    Please help me with this.
    These are very critical issues for my release.
    Thank you in advance.
    Regards,
    Geetha

    Hi Geetha,
    1.) button problem:
    i don't know how you open the form - when you do it with a XML file maybe you packed the wrong XML file into your addon installer.
    2.) the flickering can be a problem of formatted searches or interacting with other addons.
    when addon a. changes a field it can be that addon b. does something because of the event from addon a.
    the same can happen when you have formatted searches that do something when a field changes.
    ok - that are my last tipps for this day
    good night
    David

  • 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

  • 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

  • Explicit enhancement implementation not seen in the debug mode

    Hi All,
    I have implemented a explicit enhancement implementation via a source code plugin. But i could neither keep a break point in any lines of the source code plugin nor see those lines in the debug mode.  I changed the already available implementation in the enhancement section. I have implemented this enhancement for the Function Module CK_F_ASSEMBLY_COSTING.  The enhancement section is as given below...
    ENHANCEMENT-SECTION     CK_F_ASSEMBLY_COSTING_05 SPOTS ES_SAPLCK00.
    END-ENHANCEMENT-SECTION.
    I created a enhancement from the above section as below...
    $$-Start: CK_F_ASSEMBLY_COSTING_05----
    $$
    ENHANCEMENT 3  /SAPMP/GENERAL_SAPLCK00.    "active version
    ENDENHANCEMENT.
    Is there anything i need to activate other than activating the enhancement? How to make the enhanced source code execute..Plz help..Thanks..
    Regards,
    Nirmal.

    >
    Nirmal K Manohar wrote:
    > I created a enhancement from the above section as below...
    > $$-Start: CK_F_ASSEMBLY_COSTING_05----
    $$
    > ENHANCEMENT 3  /SAPMP/GENERAL_SAPLCK00.    "active version
    > .......
    > ENDENHANCEMENT.
    This is a standard implementation, not yours! Moreover, this implementation belongs to switch /SAPMP/GENERAL, which may be switched off in your system (it is deactivated in mine).
    If you want to implement your own one, create a ZXXXX implementation, and you'll see something like ENHANCEMENT 1 ZXXXX. ... ENDENHANCEMENT.
    Edited by: Sandra Rossi on Jul 9, 2009 5:51 PM

  • Can not view contents of variable in debug mode (version 1.1.1.5.0)

    Hi
    I am running on WebLogic 11R1 and using OEPE 1.1.1.5.0.
    When Fast swap is enabled and I run WebLogic in debug mode using OEPE I can not view the contents of variables with the Eclipse debugger. I get the message "Expressions must contain either an expression or a block containing a well formed statement"
    However, if I disable Fast swap, i can view the variable within the Eclipse debugger
    Has anyone else had this problem?
    Regards
    Steve H

    Small correction... the soon-to-be-released version of WebLogic Server that Danny was referring to is 11gR1 PatchSet 2 or 10.3.3.

  • FlashBuilder 4.7 will not run in Debug mode with BlackBerry 10 simulator

    We have developed an app that has been released both for Apple and Android working well.
    When trying to do the same for BlackBerry it was rejected because it did not start at all.
    The App that runs fine on the BlackBerry simulator in the "run configurations mode".
    However when I try to run it in Debug mode it will not start at all. Just flashes and simulator goes back to main menu.
    The debugger will after a while time out since it cannot connect to the app running on the simulator.
    BlackBerry 10 Simulator runs under vmWare Fusion.
    Anyone seen this before?

    Hi, Silence04. Welcome to the Discussions.
    You had serious disk directory corruption. That can also cause corruption in OS files: while Disk Utility or DiskWarrior may fix the directory, if the directory corruption resulted in OS files being damaged — as it appears to be in this case — then you can't avoid an Archive and Install. For important tips on this, see my "General advice on performing an Archive and Install" FAQ. Perform the steps therein in the specified order.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X
    Note: The information provided in the link(s) above is freely available. However, because I own The X Lab™, a commercial Web site to which some of these links point, the Apple Discussions Terms of Use require I include the following disclosure statement with this post:
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • Debugging mode - sql query not showing up in console

    Hi,
    I have turned on the debugging mode via Admin->Server Configuration->Debug Level. Set it to debug mode.
    I restarted the server. I wanted to test if the query will show up if there was an error in the query.
    However I am not seeing any query. It complains that there is some error, but doesn't show what query string it is using.
    Anyone got any idea how I can get query to show up on console (BI Publisher web interface) as opposed to
    going and seeing the log files on the server.
    Please let me know.
    Thanks
    Girija

    Thankyou Vetsrini.
    I will try out custom log table approach.
    I see that there is a way to test pl/sql scripts via the DBMS output
    and for that we need some invoking program like SQL PLUS to get the
    log out into a file.
    However, we wanted to see if there is a way to set Pl/SQL log files
    and get PL/SQL logs when the calling program is BI Publisher.
    regards
    Girija

  • Jdeveloper not working in debug mode

    Hi,
    I have installed J2SE1.4.2 and Jdeveloper 10g. But when i started to run the Jdeveloper in debug mode, its is giving "ERROR
    The requested URL could not be retrieved" connection failed arror.
    What could be the reason??
    Pls help.

    Hi
    I think the onus is on you to debugg the code and deduce why it is displaying that error.
    regards
    Isaac Prince

  • DispatchEvent not working in debug mode

    Hello,
    I have a localconnection, and when I receive a message from
    the local connection I dispatch an event. However, the dispatch
    event does not work. I step into the code and go into some
    Macromedia code for the "mx.events.EventDispatcher.dispatchEvent"
    and "mx.events.EventDispatcher.dispatchQueue", and when I inspect
    my variables the eventObj has both a target and a type set, but
    when the code tries to access them through eventObj.target and
    eventObj.type it returns null.
    Also, this only happens in debug mode (Debug -> Debug
    Movie) and not in test mode (Control -> Test Movie). In test
    movie the exact same code works flawlessly.

    Im not very sure just try to help but look this one
    mx.utils.Delegate
    i look for some issue with your problem and i think this can help
    you.

  • FM not working in debug mode.

    Function module : "LAGF_PROFIT_CENTER_GET" is basically meant to calculate the profit centre in ERP side.
    On booking an order in CRM side this function module is called at ERP side to calculate Profit centre.
    Problem is , normally this FM is working fine , but when i am in debug mode this FM is generating an error saying : Controlling object not found.
    Can anyone please analyse this FM and let me know the reason.
    Thanks,
    Abhi.

    Hi
    I think the onus is on you to debugg the code and deduce why it is displaying that error.
    regards
    Isaac Prince

  • Debug Mode - Source tables not showing up in Test Data tab

    I'm new at OWB, so pardon me if this isn't a great question...
    I built a mapping based on four views that are stored in Oracle. When I tried to run the mapping it gave me some errors, so I initiated debug mode. After the debug mode is initialized, only the target table shows up on the Test Data tab, the four source views are not there. How can I get the sources to show up in the Test Data tab so that I can define what test data to use?
    Thank you!
    Doug Faust
    Long Island University

    Thankyou Vetsrini.
    I will try out custom log table approach.
    I see that there is a way to test pl/sql scripts via the DBMS output
    and for that we need some invoking program like SQL PLUS to get the
    log out into a file.
    However, we wanted to see if there is a way to set Pl/SQL log files
    and get PL/SQL logs when the calling program is BI Publisher.
    regards
    Girija

  • Oracle connection works in VB debug mode but not in EXE

    I have a small VB 6 app that writes to an oracle database on a unix server. Oracle 10g is installed on my pc. System DSN is set up in ODBC and corresponds to an entry in the tnsnames.ora file (to the best of my limited oracle knowledge..)
    The connection to the database works fine in debug bug. Test Connection of that DSN works as well. But when I build and execute the EXE file it returns : "TNS:could not resolve the connect identifier specified"
    What is different about the process of running an EXE that could cause this failure?

    I am having the exact same problem. What could be the difference in the way the debugger in VB handles DAO calls to an Oracle database in debug mode?!?!?

Maybe you are looking for