Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. IT & Infrastructure
  4. Enable editing of source file while program is running

Enable editing of source file while program is running

Scheduled Pinned Locked Moved IT & Infrastructure
csharpvisual-studiotoolsquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kani98
    wrote on last edited by
    #1

    I have created a C# windows form application in VS 2005 and when I tried to edit the source file when the program is running, I get a message saying "Changes are not allowed while code is running or if the option 'Break all processes when one process breaks' is disabled. The option can be enabled in Tools, Options, Debugging." I tried enabling and disabling this option, but I still get this message and can't edit my source file while the program is running. Is there an option that I can enable or disable in VS 2005 that will allow me to edit the source file while the program is running?

    D 1 Reply Last reply
    0
    • K kani98

      I have created a C# windows form application in VS 2005 and when I tried to edit the source file when the program is running, I get a message saying "Changes are not allowed while code is running or if the option 'Break all processes when one process breaks' is disabled. The option can be enabled in Tools, Options, Debugging." I tried enabling and disabling this option, but I still get this message and can't edit my source file while the program is running. Is there an option that I can enable or disable in VS 2005 that will allow me to edit the source file while the program is running?

      D Offline
      D Offline
      DigiOz Multimedia
      wrote on last edited by
      #2

      You shouldn't be editing the source code while running the application anyway. Why are you trying to edit it at runtime?

      Pete Soheil DigiOz Multimedia http://www.digioz.com

      K 1 Reply Last reply
      0
      • D DigiOz Multimedia

        You shouldn't be editing the source code while running the application anyway. Why are you trying to edit it at runtime?

        Pete Soheil DigiOz Multimedia http://www.digioz.com

        K Offline
        K Offline
        kani98
        wrote on last edited by
        #3

        Sometimes when I am stepping through the code and find a problem, I like to start fixing it there.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups