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. How do i fix a user breakpoint?

How do i fix a user breakpoint?

Scheduled Pinned Locked Moved C / C++ / MFC
debuggingquestionjsonperformancehelp
3 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
    Redeemer dk
    wrote on last edited by
    #1

    Now my app is just flooding with user breakpoints everywhere. I've checked if i'm freeing some memory that's already freed but no. And most of the time the user breakpoint comes when i'm in an API function so i can't debug inside the function. Thanks

    S D 2 Replies Last reply
    0
    • R Redeemer dk

      Now my app is just flooding with user breakpoints everywhere. I've checked if i'm freeing some memory that's already freed but no. And most of the time the user breakpoint comes when i'm in an API function so i can't debug inside the function. Thanks

      S Offline
      S Offline
      Shog9 0
      wrote on last edited by
      #2

      You are observing a symptom of some other problem. Probably you are passing bad data into an API function. Work your way back up the call stack 'till it's in your own code, and check for things like de-allocated memory being used, or bogus pointers. Shog9 ------ If you really what to get shitfacde tell a crowded bar that is is yourt borthday and hife your wallet. you ka will many more friends.

      - David Wulff, Brithday selebrations, 9/19/02

      1 Reply Last reply
      0
      • R Redeemer dk

        Now my app is just flooding with user breakpoints everywhere. I've checked if i'm freeing some memory that's already freed but no. And most of the time the user breakpoint comes when i'm in an API function so i can't debug inside the function. Thanks

        D Offline
        D Offline
        Dimitri Rochette
        wrote on last edited by
        #3

        if you allocate memory, then write something to it plus 1 byte or more. You could have a "user breakpoint" when you'll free the memory block.

        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