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. C / C++ / MFC
  4. Visual C++ 6 problems

Visual C++ 6 problems

Scheduled Pinned Locked Moved C / C++ / MFC
c++debugginghelptutorialquestion
8 Posts 4 Posters 1 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.
  • P Offline
    P Offline
    Paresh Solanki
    wrote on last edited by
    #1

    Hi Guy's I have a couple of problems with Visual C++ 6. (with Service Pack 5) 1) Is there a way of not stepping into functions such as CString during a debug session. I'm sure I read on CP how to do this, but I cannot find that article again. 2) When running Visual C++ on a Win2K machine, sometimes when pressing F5 to build and run, VC will cause my machine to reboot. Any ideas on how to fix this? :( Paresh Solanki A Completly Random Ordering Never Yields Meaning

    P K 2 Replies Last reply
    0
    • P Paresh Solanki

      Hi Guy's I have a couple of problems with Visual C++ 6. (with Service Pack 5) 1) Is there a way of not stepping into functions such as CString during a debug session. I'm sure I read on CP how to do this, but I cannot find that article again. 2) When running Visual C++ on a Win2K machine, sometimes when pressing F5 to build and run, VC will cause my machine to reboot. Any ideas on how to fix this? :( Paresh Solanki A Completly Random Ordering Never Yields Meaning

      P Offline
      P Offline
      Philip Patrick
      wrote on last edited by
      #2

      Hmm... do not use F11 and you won't step in, lol.. As for second question, I'm running VC6 on Win2k too, and have no problems with it.. So it is not Win2k, but something installed on your machine :) Philip Patrick "Two beer or not two beer?" (Shakesbeer) Web-site: www.saintopatrick.com

      P 1 Reply Last reply
      0
      • P Philip Patrick

        Hmm... do not use F11 and you won't step in, lol.. As for second question, I'm running VC6 on Win2k too, and have no problems with it.. So it is not Win2k, but something installed on your machine :) Philip Patrick "Two beer or not two beer?" (Shakesbeer) Web-site: www.saintopatrick.com

        P Offline
        P Offline
        Paresh Solanki
        wrote on last edited by
        #3

        Hmmm.., helpful, never woulda thought of that ;P If you have something like CString bar = "Hello Philip"; foo(bar.mid(3, 7)); Pressing F10 will step over foo(), but F11 will step into CString::Mid(), before stepping into foo(). What I would like is to be able to step over CString::Mid()() but into foo(). Paresh Solanki A Completly Random Ordering Never Yields Meaning

        P 1 Reply Last reply
        0
        • P Paresh Solanki

          Hi Guy's I have a couple of problems with Visual C++ 6. (with Service Pack 5) 1) Is there a way of not stepping into functions such as CString during a debug session. I'm sure I read on CP how to do this, but I cannot find that article again. 2) When running Visual C++ on a Win2K machine, sometimes when pressing F5 to build and run, VC will cause my machine to reboot. Any ideas on how to fix this? :( Paresh Solanki A Completly Random Ordering Never Yields Meaning

          K Offline
          K Offline
          Kavitha Sama
          wrote on last edited by
          #4

          Check this out... http://www.codeguru.com/debug/autoexp.shtml> Kavitha

          P 1 Reply Last reply
          0
          • P Paresh Solanki

            Hmmm.., helpful, never woulda thought of that ;P If you have something like CString bar = "Hello Philip"; foo(bar.mid(3, 7)); Pressing F10 will step over foo(), but F11 will step into CString::Mid(), before stepping into foo(). What I would like is to be able to step over CString::Mid()() but into foo(). Paresh Solanki A Completly Random Ordering Never Yields Meaning

            P Offline
            P Offline
            Philip Patrick
            wrote on last edited by
            #5

            I'm not sure u can disable this... But who knows? Anyways I don't see big deal by pressing F11 - Shift+F11 - F11... and u are inside your function :) Philip Patrick "Two beer or not two beer?" (Shakesbeer) Web-site: www.saintopatrick.com

            P 1 Reply Last reply
            0
            • P Philip Patrick

              I'm not sure u can disable this... But who knows? Anyways I don't see big deal by pressing F11 - Shift+F11 - F11... and u are inside your function :) Philip Patrick "Two beer or not two beer?" (Shakesbeer) Web-site: www.saintopatrick.com

              P Offline
              P Offline
              Paresh Solanki
              wrote on last edited by
              #6

              That's fine until you get foo(fn1(), fn2(), fn3(), fn4()...) causes some frantic F11-shift+F11 keystrokes. Paresh Solanki A Completly Random Ordering Never Yields Meaning

              J 1 Reply Last reply
              0
              • K Kavitha Sama

                Check this out... http://www.codeguru.com/debug/autoexp.shtml> Kavitha

                P Offline
                P Offline
                Paresh Solanki
                wrote on last edited by
                #7

                Just what I needed Thanks!!:cool: Paresh Solanki A Completly Random Ordering Never Yields Meaning

                1 Reply Last reply
                0
                • P Paresh Solanki

                  That's fine until you get foo(fn1(), fn2(), fn3(), fn4()...) causes some frantic F11-shift+F11 keystrokes. Paresh Solanki A Completly Random Ordering Never Yields Meaning

                  J Offline
                  J Offline
                  Jon Hulatt
                  wrote on last edited by
                  #8

                  The VC debugger and UI is pretty intelligent. But if it was as intelligent as you want it to be, it'd do you out of a job! Sorry to dissapoint you all with my lack of a witty or poignant signature.

                  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