Software Debugging-Debug Symbols

Source: Internet
Author: User

Debug Symbols.

Debug symbols for 1.1 C

Case1. Use the C Call Protocol (__CDECL) function to underline the function name, regardless of the parameter and return value.

eg.

Case2. Use the Fast Call Protocol (__fastcall) function to add the @ symbol before and after the function name, followed by the length of the parameter, regardless of the return value.

eg. extern "C" Int__fastcall Test (int n)---------> @[email protected]

Case3. Using the standard call Protocol (__stdcall) function, the function name is underlined before the name with an @ sign followed by the length of the parameter, regardless of the return value.

eg. extern "C" Int__stdcall Test (int n, int m)---------> [email protected]

1.2 Debug Symbols for C + +.

Software Debugging-Debug Symbols

Related Article

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.