XLL Debugging Methods

Source: Internet
Author: User

1) Open the XLL under the compiled debug

2) Project Property->configuration Properties debugging

Set Attach as "Yes"

Set Command as "C:\Program Files\Microsoft Office\office11\excel. EXE "

Finally,i found a solution here.

To enable debugging:

1) Goto Project->helloworld Properties

2) on the left expand "Configuration Properties"

3) Expand "C + +"

4) on the left, select "General"

5) on the right, change ' Debug information Format ' to ' program Database for Edit and Continue (/zi) '

5) on the left, select "Optimization"

6) on the right, change "optimization" to "Disabled (/od)"

7) on the left, expand "Linker"

8) on the left, select "Debugging"

9) on the ' right ', change ' Generate Debug Info ' to ' Yes '

(Ten) Click OK

One) Set your breakpoints

Rebuild your application

Also when running your application use CTRL+F5 to build and run it, this keeps the console window open long enough for you To see your output.

XLL Debugging Methods

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.