0

I googled a lot but no answer found. My project is a plugin of a .Net application.

The project was started 2 years ago on WinXp 32bit platform. A 32bit COM component was used for some reasons. Because I have the source codes, I can debug into the COM component freely. Everything is fantastic at that time.

At the beginning of this year, my project is upgrading to x64 because of memory benefit. And the x64 version of the COM component is also ready. Everything works fine except debugging.

Now I can't debug into the COM dlls anymore. There is no any COM dll or interop dll listed in the Debug\Windows\Modules window. Thus, I can't specify the symbol directory for dll.

I know there is no mix mode support for debugging. So When I attach the exe, I select "Native".

I tried VS 2005, VS 2008 and VS 2010, all of them give me the same issue. Then I thought may be it is because x64. So I use the old 32 bit code which was debugged fine on WinXP to try again. But I still can't debug either.

Any idea? Is this because of the win7 platform? Or if I need to add some entries in the exe's config file?

Thanks in advance.

4

1 回答 1

0

或许,我应该这样问:

调试器决定哪个模块应该在模块列表中的规则是什么?如果你比较 ProcessExplorer 和 VS 的模块列表,你会发现这两者并不相同。

于 2012-05-11T15:23:00.153 回答