Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

MFC debugging help

  • 31-01-2006 11:54AM
    #1
    Registered Users, Registered Users 2 Posts: 1,268 ✭✭✭


    Hi there, I'm writing an MFC application which is something I don't usually do, I usually write console apps, but anyway I'm getting the following error message every so often when debugging.
    User breakpoint called from code at 0x7cxxxxxx
    This is followed by an exception when I try to step on more line. Its probably something to do with the heap but I'm not really sure. My code involves a thread which constantly poles the serial port for data, then puts in an STL queue. Then at timed intervals the queue is read and plotted on a graph. Now I've made sure that the queue is only read when data is available but this is still happening. If I run the program normally, it generally crashes after a few minutes. Anybody have any ideas? I'd really appreciate it!


Advertisement