User breakpoint called from ... 
Author Message
 User breakpoint called from ...

Hi.
I develop chatting server in windows2000, VC++ 6.0.

I run the server in VC++ debug mode ( You can enter this mode pressing F5).

It works well.
But sometimes VC++ shows me the error dialog box and stops running the server.
The error message is following.

    "User breakpoint called from ..."

So I examined call stack and it alarmed where it stops.
The code is as follows.

//////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////
void CListenSock::OnAccept(int nErrorCode)
{
 // TODO: Add your specialized code here and/or call the base class
    CClientSock *pClientSock;

    pClientSock = new CClientSock(m_pMServerDoc);

    if(!Accept(*pClientSock))
        AfxMessageBox("Accept error : " + CString(Error_Report()));

    CAsyncSocket::OnAccept(nErrorCode);

Quote:
}

//////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////

Above error message appeared at    pClientSock = new CClientSock(m_pMServerDoc);

First of all I can't understand the meaning of the error message.

Next what's wrong with new?
In my thinking, if something is wrong with new operator, the error message is
memory leakage.

Please answer to me!!

Regards!!



Sun, 14 Sep 2003 08:32:25 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. User breakpoint called from code at 0x77fa018c

2. Unexplicable User breakpoint called at 77F9EEA9 - exact error someone else had posted

3. Newbie: User breakpoint called from code @ addressn

4. user breakpoint called from code at 0x....

5. User breakpoint called from code at 0x77f6148

6. "User Breakpoint called from Code..."

7. BoundsChecker - "User breakpoint called from code"

8. User breakpoint called at code XXXX

9. User Breakpoint called from code?

10. BoundsChecker - "User breakpoint called from code"

11. user breakpoint called from ... using free()

12. User Breakpoint Called

 

 
Powered by phpBB® Forum Software