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. The Lounge
  3. I just found the worst designed Visual Studio 2017 feature

I just found the worst designed Visual Studio 2017 feature

Scheduled Pinned Locked Moved The Lounge
csharpvisual-studiocomdebuggingperformance
9 Posts 5 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.
  • S Offline
    S Offline
    Super Lloyd
    wrote on last edited by
    #1

    In visual studio 2017 there is a memory profiler. You can take memory snapshot at interval of your choice while running a debugging session and compare snapshot for the number of object or bytes taken. Thing is: when you stop debugging because, say, you want to edit a file, it close all the snapshots! :omg: Now, I found a workaround, if you run snapshot comparison (while debugger is running, obviously) the window stay open. But, wait for it, if your snapshot comparison has been detached (in my case floating on the other screen), when you stop debugging it is closed! Losing all data collected again! Look like Microsoft doesn't want us accidentally using the information we just collected. This feature should remain a teaser... :mad: :mad: :mad: :((

    A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!

    R F K 3 Replies Last reply
    0
    • S Super Lloyd

      In visual studio 2017 there is a memory profiler. You can take memory snapshot at interval of your choice while running a debugging session and compare snapshot for the number of object or bytes taken. Thing is: when you stop debugging because, say, you want to edit a file, it close all the snapshots! :omg: Now, I found a workaround, if you run snapshot comparison (while debugger is running, obviously) the window stay open. But, wait for it, if your snapshot comparison has been detached (in my case floating on the other screen), when you stop debugging it is closed! Losing all data collected again! Look like Microsoft doesn't want us accidentally using the information we just collected. This feature should remain a teaser... :mad: :mad: :mad: :((

      A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!

      R Offline
      R Offline
      Rage
      wrote on last edited by
      #2

      This is called ... garbage collection ;P

      Do not escape reality : improve reality !

      S C 2 Replies Last reply
      0
      • R Rage

        This is called ... garbage collection ;P

        Do not escape reality : improve reality !

        S Offline
        S Offline
        Super Lloyd
        wrote on last edited by
        #3

        haha so true! :laugh:

        A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!

        R 1 Reply Last reply
        0
        • S Super Lloyd

          haha so true! :laugh:

          A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!

          R Offline
          R Offline
          Rage
          wrote on last edited by
          #4

          If you feel like digging in the VS Options, since there is a setting for pretty much everything, the probability is high to have one for keeping the windows open after the end of the debugging session. (and if not, you still have the option : you-are-a-programmer-why-don't-you-write-a-plugin).

          Do not escape reality : improve reality !

          1 Reply Last reply
          0
          • R Rage

            This is called ... garbage collection ;P

            Do not escape reality : improve reality !

            C Offline
            C Offline
            CodeWraith
            wrote on last edited by
            #5

            No, it's not! Garbage collection is when some men come with a truck, noisily beat up the trash cans in your alley, dump some homeless sleeping in the dumpster into their truck, then set the dumpster on fire and after that they move on to the next alley.

            I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

            R 1 Reply Last reply
            0
            • C CodeWraith

              No, it's not! Garbage collection is when some men come with a truck, noisily beat up the trash cans in your alley, dump some homeless sleeping in the dumpster into their truck, then set the dumpster on fire and after that they move on to the next alley.

              I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

              R Offline
              R Offline
              Rage
              wrote on last edited by
              #6

              Looks like you live in a pleasant area. :rolleyes: Garbage collection usually makes the day of my son (but he is 4).

              Do not escape reality : improve reality !

              C 1 Reply Last reply
              0
              • R Rage

                Looks like you live in a pleasant area. :rolleyes: Garbage collection usually makes the day of my son (but he is 4).

                Do not escape reality : improve reality !

                C Offline
                C Offline
                CodeWraith
                wrote on last edited by
                #7

                Not yet, but we are getting theren

                I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

                1 Reply Last reply
                0
                • S Super Lloyd

                  In visual studio 2017 there is a memory profiler. You can take memory snapshot at interval of your choice while running a debugging session and compare snapshot for the number of object or bytes taken. Thing is: when you stop debugging because, say, you want to edit a file, it close all the snapshots! :omg: Now, I found a workaround, if you run snapshot comparison (while debugger is running, obviously) the window stay open. But, wait for it, if your snapshot comparison has been detached (in my case floating on the other screen), when you stop debugging it is closed! Losing all data collected again! Look like Microsoft doesn't want us accidentally using the information we just collected. This feature should remain a teaser... :mad: :mad: :mad: :((

                  A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!

                  F Offline
                  F Offline
                  F ES Sitecore
                  wrote on last edited by
                  #8

                  Super Lloyd wrote:

                  You can take memory snapshot at interval of your choice while running a debugging session and compare snapshot for the number of object or bytes taken.

                  Can you? Wow. I just use it because it makes people sitting around me think I'm doing some really involved stuff. *goes back to playing game on phone*

                  1 Reply Last reply
                  0
                  • S Super Lloyd

                    In visual studio 2017 there is a memory profiler. You can take memory snapshot at interval of your choice while running a debugging session and compare snapshot for the number of object or bytes taken. Thing is: when you stop debugging because, say, you want to edit a file, it close all the snapshots! :omg: Now, I found a workaround, if you run snapshot comparison (while debugger is running, obviously) the window stay open. But, wait for it, if your snapshot comparison has been detached (in my case floating on the other screen), when you stop debugging it is closed! Losing all data collected again! Look like Microsoft doesn't want us accidentally using the information we just collected. This feature should remain a teaser... :mad: :mad: :mad: :((

                    A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!

                    K Offline
                    K Offline
                    Keviniano Gayo
                    wrote on last edited by
                    #9

                    It looks cool but pretty useless.. I used a free tool prefix.io for profiling mvc web apps, it's a great tool so far :-)

                    [Signature space for sale]

                    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