Vs the Ctrl-c error is displayed during debugging.

Source: Internet
Author: User
The Ctrl-c error is displayed during the vs debugging process-Linux general technology-Linux programming and kernel information. The following is a detailed description. When hastatus.exe [examples/APG/Reactor/HAStatus] is run, if you press Ctrl + C, all statements are commented out in ACE_TMAIN and only reserved.

ACE_Reactor: instance ()-> run_reactor_event_loop ();

Return (0 );

This problem also occurs. In Ubuntu, there is no exception in Ctal-C, and the program ends quietly. The most likely exception at 0x7c87534d in HAStatus.exe: 0x40010005: Control-C

The thread 'win32 thread' (0x1728) has exited and the return value is 0 (0x0 ).

The program "[3820] HAStatus.exe: Local" has exited and the returned value is 0 (0x0 ).

Just a try, the program compiled in vs2005 only needs to allocate memory on heap. Even if the allocated memory is managed through auto_ptr, an error still occurs during Ctrl-c. Why is there no such error message in Linux? This dialog box may pop up when this exception is detected during program debugging in.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.