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. Remove all breakpoint

Remove all breakpoint

Scheduled Pinned Locked Moved C / C++ / MFC
c++debuggingtutorialquestion
15 Posts 8 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.
  • C Christian Graus

    John R. Shaw wrote:

    What I mean is that there is a fuction call that can set a break point.

    I don't know, sorry. Christian Graus - Microsoft MVP - C++

    J Offline
    J Offline
    John R Shaw
    wrote on last edited by
    #6

    :laugh:If you did I would probably be cluching my chest asking "how did he know that". Well, not realy! That is I think you took the wrong quote, becuase there are functions that can specifey break points. INTP Every thing is relative...

    1 Reply Last reply
    0
    • J John R Shaw

      Ahhh, an actual VC6.0 question!:laugh: Question: Do you know if that stops the brake points built into the libararies. What I mean is that there is a fuction call that can set a break point. Example: I have no break points set and yet the debugger stops at some assembly code line (without source). Sorry, just curious! If you know, I would be supprised, because I do not know. Plus the fact that they are there (which they are) then there must be a reason. INTP Every thing is relative...

      K Offline
      K Offline
      kakan
      wrote on last edited by
      #7

      The old way to do it is by an: INT 3 I don't know if it's still working. That was a safe way to break into the debugger, if present. (If outside a debugger, noting happened).

      J 1 Reply Last reply
      0
      • J John R Shaw

        Ahhh, an actual VC6.0 question!:laugh: Question: Do you know if that stops the brake points built into the libararies. What I mean is that there is a fuction call that can set a break point. Example: I have no break points set and yet the debugger stops at some assembly code line (without source). Sorry, just curious! If you know, I would be supprised, because I do not know. Plus the fact that they are there (which they are) then there must be a reason. INTP Every thing is relative...

        J Offline
        J Offline
        John M Drescher
        wrote on last edited by
        #8

        John R. Shaw wrote:

        Question: Do you know if that stops the brake points built into the libararies. What I mean is that there is a fuction call that can set a break point. Example: I have no break points set and yet the debugger stops at some assembly code line (without source).

        No it has no effect on complied in breakpoints at all. You can compile in a breakpoint by using DebugBreak or AfxDebugBreak or a simple assembly statement. John

        J 1 Reply Last reply
        0
        • B bobi_zcl

          Hi,everyone: Could you tell how to remove all my program's breakpoint in Visual C++ 6.0? thank you! your friend:bobi

          T Offline
          T Offline
          toxcct
          wrote on last edited by
          #9

          this has been also answered 4 days ago, here on the Visual C++ forum[^]


          TOXCCT >>> GEII power
          [toxcct][VisualCalc]

          1 Reply Last reply
          0
          • J John R Shaw

            Ahhh, an actual VC6.0 question!:laugh: Question: Do you know if that stops the brake points built into the libararies. What I mean is that there is a fuction call that can set a break point. Example: I have no break points set and yet the debugger stops at some assembly code line (without source). Sorry, just curious! If you know, I would be supprised, because I do not know. Plus the fact that they are there (which they are) then there must be a reason. INTP Every thing is relative...

            T Offline
            T Offline
            ThatsAlok
            wrote on last edited by
            #10

            John R. Shaw wrote:

            What I mean is that there is a fuction call that can set a break point

            AFAIK, Breakpoint are compiler specfic not program/software specfic. may be you have to look into the Visual Studio components to find about it

            "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

            cheers, Alok Gupta VC Forum Q&A :- I/ IV

            J 1 Reply Last reply
            0
            • K kakan

              The old way to do it is by an: INT 3 I don't know if it's still working. That was a safe way to break into the debugger, if present. (If outside a debugger, noting happened).

              J Offline
              J Offline
              John R Shaw
              wrote on last edited by
              #11

              I seem to be missing a day.:laugh: I seem to rememeber that, but the original question was not how to break into the debugger, but how to prevent it from happening. Which is probably a bad idea (in my opinion), in this case. INTP Every thing is relative...

              1 Reply Last reply
              0
              • J John M Drescher

                John R. Shaw wrote:

                Question: Do you know if that stops the brake points built into the libararies. What I mean is that there is a fuction call that can set a break point. Example: I have no break points set and yet the debugger stops at some assembly code line (without source).

                No it has no effect on complied in breakpoints at all. You can compile in a breakpoint by using DebugBreak or AfxDebugBreak or a simple assembly statement. John

                J Offline
                J Offline
                John R Shaw
                wrote on last edited by
                #12

                That is precisely, the answer I would expect to recieve. I ask questions like this to illustrate the point that it is built into the developers code. If there is a way to disable it, I would be (slightly) supprised. I only say slightly, becaues very few things are a total supprises any more. INTP Oops! They made a 1 bit change in the protocal, so the precise (algorithmic) calculation (assumptions) you made five years ago is now off by one bit.

                1 Reply Last reply
                0
                • T ThatsAlok

                  John R. Shaw wrote:

                  What I mean is that there is a fuction call that can set a break point

                  AFAIK, Breakpoint are compiler specfic not program/software specfic. may be you have to look into the Visual Studio components to find about it

                  "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                  cheers, Alok Gupta VC Forum Q&A :- I/ IV

                  J Offline
                  J Offline
                  John R Shaw
                  wrote on last edited by
                  #13

                  I am kind of curious, of course breakpoints are specific to the compiler, in this case the compiler that comes with Visual Studio. That is what the statement you quoted is referring too! What's your point? INTP Every thing is relative...

                  T 1 Reply Last reply
                  0
                  • J John R Shaw

                    I am kind of curious, of course breakpoints are specific to the compiler, in this case the compiler that comes with Visual Studio. That is what the statement you quoted is referring too! What's your point? INTP Every thing is relative...

                    T Offline
                    T Offline
                    ThatsAlok
                    wrote on last edited by
                    #14

                    John R. Shaw wrote:

                    Visual Studio. That is what the statement you quoted is referring too!

                    I Believe, you have to look for any exetention/automation provided visual studio to apply breakpoint programmatically!

                    "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                    cheers, Alok Gupta VC Forum Q&A :- I/ IV

                    J 1 Reply Last reply
                    0
                    • T ThatsAlok

                      John R. Shaw wrote:

                      Visual Studio. That is what the statement you quoted is referring too!

                      I Believe, you have to look for any exetention/automation provided visual studio to apply breakpoint programmatically!

                      "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                      cheers, Alok Gupta VC Forum Q&A :- I/ IV

                      J Offline
                      J Offline
                      John R Shaw
                      wrote on last edited by
                      #15

                      Ahh! I know how to set a breakpoint programmatically! (See "John M. Drescher" and "kakan"s answers) The original question was if breadpoints set programmatically could be turned off. The general consensuses is that they can not, and I would be suppised if they could. INTP Every thing is relative...

                      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