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. Breakpoints not being hit

Breakpoints not being hit

Scheduled Pinned Locked Moved C / C++ / MFC
4 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.
  • L Offline
    L Offline
    Like2Byte
    wrote on last edited by
    #1

    Hi, I've set breakpoints in my application. Last night my breakpoints were being hit ok. This morning none of the breakpoints that are set are being hit. So I deleted the project's NCB file. Spurious results at best. I deleted the NCB file again, restarted, cleaned project then rebuilt and my breakpoints are being hit again. Yeah. However, if I set new breakpoints those breakpoints are missed/skipped. WTH? Signed, Perplexium ad infinitum

    R I 2 Replies Last reply
    0
    • L Like2Byte

      Hi, I've set breakpoints in my application. Last night my breakpoints were being hit ok. This morning none of the breakpoints that are set are being hit. So I deleted the project's NCB file. Spurious results at best. I deleted the NCB file again, restarted, cleaned project then rebuilt and my breakpoints are being hit again. Yeah. However, if I set new breakpoints those breakpoints are missed/skipped. WTH? Signed, Perplexium ad infinitum

      R Offline
      R Offline
      Rajesh R Subramanian
      wrote on last edited by
      #2

      Are you sure you are running a debug build?

      It is a crappy thing, but it's life -^ Carlo Pallini

      1 Reply Last reply
      0
      • L Like2Byte

        Hi, I've set breakpoints in my application. Last night my breakpoints were being hit ok. This morning none of the breakpoints that are set are being hit. So I deleted the project's NCB file. Spurious results at best. I deleted the NCB file again, restarted, cleaned project then rebuilt and my breakpoints are being hit again. Yeah. However, if I set new breakpoints those breakpoints are missed/skipped. WTH? Signed, Perplexium ad infinitum

        I Offline
        I Offline
        Iain Clarke Warrior Programmer
        wrote on last edited by
        #3

        In VC6 at least, breakpoints are stored in the .opt file. .ncb is a pest that gets corrupted regularly by intellisense! Iain.

        In the process of moving to Sweden for love (awwww). If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), give me a job!

        L 1 Reply Last reply
        0
        • I Iain Clarke Warrior Programmer

          In VC6 at least, breakpoints are stored in the .opt file. .ncb is a pest that gets corrupted regularly by intellisense! Iain.

          In the process of moving to Sweden for love (awwww). If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), give me a job!

          L Offline
          L Offline
          Like2Byte
          wrote on last edited by
          #4

          Didn't know the OPT was used for that! Thank you!! :P I was able to get it to work - after I deleted all my breakpoints. I'll now next what to do ahead of schedule. Cheers!! :-D

          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