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. General Programming
  3. Visual Studio
  4. There is a delay when running Python programs in Visual Studio 2019

There is a delay when running Python programs in Visual Studio 2019

Scheduled Pinned Locked Moved Visual Studio
visual-studiocsharppythonquestion
5 Posts 3 Posters 7 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.
  • U Offline
    U Offline
    User 12941702
    wrote on last edited by
    #1

    I notice that when I run a Python program within the Visual Studio 2019 IDE there is a bit of a delay before I see the output. Does anyone care to speculate on why this is?

    L U A 3 Replies Last reply
    0
    • U User 12941702

      I notice that when I run a Python program within the Visual Studio 2019 IDE there is a bit of a delay before I see the output. Does anyone care to speculate on why this is?

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Member 12974235 wrote:

      Does anyone care to speculate on why this is?

      Compile time, launching the exe, getting debug info, hooking up the debugger. Otherwise, sunspots, dwarves and voodoo.

      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

      1 Reply Last reply
      0
      • U User 12941702

        I notice that when I run a Python program within the Visual Studio 2019 IDE there is a bit of a delay before I see the output. Does anyone care to speculate on why this is?

        U Offline
        U Offline
        User 12941702
        wrote on last edited by
        #3

        I got if figured out. You need to run your program with CTRL+F5 so you don't add debugging.

        L 1 Reply Last reply
        0
        • U User 12941702

          I notice that when I run a Python program within the Visual Studio 2019 IDE there is a bit of a delay before I see the output. Does anyone care to speculate on why this is?

          A Offline
          A Offline
          Afzaal Ahmad Zeeshan
          wrote on last edited by
          #4

          That is a question for Microsoft, I have to say, you can check here on this, [uservoice supporters 1 - Developer Community](https://developercommunity.visualstudio.com/topics/uservoice+supporters+1.html)

          The shit I complain about It's like there ain't a cloud in the sky and it's raining out - Eminem ~! Firewall !~

          1 Reply Last reply
          0
          • U User 12941702

            I got if figured out. You need to run your program with CTRL+F5 so you don't add debugging.

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            The whole point of running it inside Visual Studio is so that you can use debugging. If you just want the Release version then run it from Explorer or a command prompt instead

            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