Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 153315
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T09:46:46+00:00 2026-05-11T09:46:46+00:00

I am trying to attach to Word and set break points in the C++

  • 0

I am trying to attach to Word and set break points in the C++ (MFC) source code that I have just gotten access to. I have never done this before and hope that I have omitted some simple step. So far I have been able to:

  • Compile the source code in VS (this produces .obj files and a .pdb file, but no .wll file which is confusing)
  • Attach to Word in VS and when I run the add-in in Word I can break all and see disassembly code
  • Locate myAddin.wll that is running in VS’s modules window (VS says no symbols loaded)

I have not been able to:

  • load debugging symbols. VS simply ignores me when I right click on myAddin.wll in the modules window and try to load myAddin.pdb
  • set a break point in myAddin.cpp and hit it

Anything obvious I am missing? Any good references on this that you know of?

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T09:46:47+00:00Added an answer on May 11, 2026 at 9:46 am

    The first guess I’d have is that the .wll file that Word is loading is not the one you’ve just built, so that Word is loading a version without any debugging information.

    The first step would be to figure out where the .wdll file you’re building in Visual Stdio is actually output. Open the project’s Properties window and check in ‘General / Output Directory’ and ‘Linker / General / Output File’ to see what the project outputs. That should be enough for you to find it, and check with Explorer that it’s being actually built.

    When you attach to Word and load your add-in, you should see in the Visual Studio output a message indicating that your .wll file has been loaded. That message should give the full path to where it’s being loaded from – if that’s not the output of your project, that’s the first problem. I’d suggest just copying your new .wll file to whereever Word is loading the .wll from.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple page, just trying to attach a load event to the
I'm trying to attach my database on a server that is running SQL2005 and
I have a question related to this one : I'm trying to attach an
can anyone help? I have an issue with linq2sql and trying to Attach (update)
I have loaded Web Site from HDD. Now trying attach it to process WebDev.WebServer.EXE.
I'm trying to attach multiple Behaviors to an UIElement (which, just judging from the
I'm trying to attach an image on a button in WPF, however this code
I am trying to attach a file with a contact form. My code looks
I have been trying to attach a handler to the resize event in one
I'm trying to attach a click function that adds a CSS class to all

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.