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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Studio
  4. custom debug-tooltip

custom debug-tooltip

Scheduled Pinned Locked Moved Visual Studio
visual-studiodebuggingquestion
8 Posts 3 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.
  • R Offline
    R Offline
    Russell
    wrote on last edited by
    #1

    How I can tell to VS to write a custom feature on the tooltip that pop up on the name of the variables during debug? I mean: If I define

    int i;
    

    during the debug (stopping the process using breakpoints) I can move the mouse pointer on the name of the variable and a tooltip will tell:

    i = 5

    Elseway if:

    CMyClass Class;
    

    the tooltip will tell:

    Class = {CMyClass}

    ------------------------------------------ Well...it is not enough...what I desire is that in that tooltip is writed the value of one (or more) member variable of my classes. Is it possible? It could be very useful for me.:-D:-D


    Russell

    D 1 Reply Last reply
    0
    • R Russell

      How I can tell to VS to write a custom feature on the tooltip that pop up on the name of the variables during debug? I mean: If I define

      int i;
      

      during the debug (stopping the process using breakpoints) I can move the mouse pointer on the name of the variable and a tooltip will tell:

      i = 5

      Elseway if:

      CMyClass Class;
      

      the tooltip will tell:

      Class = {CMyClass}

      ------------------------------------------ Well...it is not enough...what I desire is that in that tooltip is writed the value of one (or more) member variable of my classes. Is it possible? It could be very useful for me.:-D:-D


      Russell

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      If I understand the question correctly, Visual Studio .NET 2005 already does this.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007

      R 1 Reply Last reply
      0
      • D Dave Kreskowiak

        If I understand the question correctly, Visual Studio .NET 2005 already does this.

        A guide to posting questions on CodeProject[^]
        Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
             2006, 2007

        R Offline
        R Offline
        Russell
        wrote on last edited by
        #3

        Really?? Great!! Then, how I can set that output string format? Tnx


        Russell

        D 1 Reply Last reply
        0
        • R Russell

          Really?? Great!! Then, how I can set that output string format? Tnx


          Russell

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          Debugger Visualizers[^]. You can't change the default ones, but you can make your own visualizers and show whatever you want. I wrote one for showing images in the debugger instead of the usual Bitmap properties.

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
               2006, 2007

          R 1 Reply Last reply
          0
          • D Dave Kreskowiak

            Debugger Visualizers[^]. You can't change the default ones, but you can make your own visualizers and show whatever you want. I wrote one for showing images in the debugger instead of the usual Bitmap properties.

            A guide to posting questions on CodeProject[^]
            Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                 2006, 2007

            R Offline
            R Offline
            Russell
            wrote on last edited by
            #5

            Oops: Visual Studio .NET 2003 doesn't know the property

            DebuggerDisplay

            ....:sigh::(( I think I need to wait to buy VS 2005...:~ Thank you very much


            Russell

            D 1 Reply Last reply
            0
            • R Russell

              Oops: Visual Studio .NET 2003 doesn't know the property

              DebuggerDisplay

              ....:sigh::(( I think I need to wait to buy VS 2005...:~ Thank you very much


              Russell

              D Offline
              D Offline
              Dave Kreskowiak
              wrote on last edited by
              #6

              Nope. Like I said, this is new to VS.NET 2005. There's no support for this in 2003.

              A guide to posting questions on CodeProject[^]
              Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                   2006, 2007

              R 1 Reply Last reply
              0
              • D Dave Kreskowiak

                Nope. Like I said, this is new to VS.NET 2005. There's no support for this in 2003.

                A guide to posting questions on CodeProject[^]
                Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                     2006, 2007

                R Offline
                R Offline
                revi22
                wrote on last edited by
                #7

                What method do you think is better when there are many threads? Regards, Analizzatore Cloro

                D 1 Reply Last reply
                0
                • R revi22

                  What method do you think is better when there are many threads? Regards, Analizzatore Cloro

                  D Offline
                  D Offline
                  Dave Kreskowiak
                  wrote on last edited by
                  #8

                  Uhh... WHAT? :confused:

                  A guide to posting questions on CodeProject[^]
                  Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                       2006, 2007

                  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