Cannot debug unit tests when c++ componets are not installed

I am trying to debug my unit tests in a simple c# library project, but
am running into an issue.

I have VS.NET 2003 install on a Win XP Pro sp2 with the following vs.net
components installed:

Microsoft Visual C# .NET 69586-335-0000007-18156
Dundas Chart - ASP.NET Enterprise Version: 3.5
JetBrains ReSharper 2.0.213.34
Microsoft Application Center Test
Microsoft SQL Server Report Designer
Microsoft Visual Studio .NET 2003 Hotfix (KB830348)

(Note: I do not install the C++ components.)

While attempting to debug a unit test by clicking on the icon in the
editor window or the context menu I get the following ReSharper Error
Dialog with the message "Failed to attach to the debugger: Unmanaged
debugging is not available."

I remember a bug posting that said to install the C++ portion of VS.NET,
so I did. Now, for the life of me, I cannot find the issue number that
I saw it in.

Now I can debug my unit tests.

Is it a requirement of ReSharper that your instance of VS.NET 2003 have
the C++ components installed?

Is this a bug? If so, would you like me to add it to the tracker?

2 comments
Comment actions Permalink

Hello Jason,

I'd rather say this is a known issue. For some reason, VS's API which is used
for debugging unit tests, doesn't work if VC++ is not installed even if the
project being
debugged in purely managed. I'm not sure if the corresponding request is
already in the tracker,
so please add it.



Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

I am trying to debug my unit tests in a simple c# library project, but
am running into an issue.

I have VS.NET 2003 install on a Win XP Pro sp2 with the following
vs.net components installed:

Microsoft Visual C# .NET 69586-335-0000007-18156
Dundas Chart - ASP.NET Enterprise Version: 3.5
JetBrains ReSharper 2.0.213.34
Microsoft Application Center Test
Microsoft SQL Server Report Designer
Microsoft Visual Studio .NET 2003 Hotfix (KB830348)
(Note: I do not install the C++ components.)

While attempting to debug a unit test by clicking on the icon in the
editor window or the context menu I get the following ReSharper Error
Dialog with the message "Failed to attach to the debugger: Unmanaged
debugging is not available."

I remember a bug posting that said to install the C++ portion of
VS.NET, so I did. Now, for the life of me, I cannot find the issue
number that I saw it in.

Now I can debug my unit tests.

Is it a requirement of ReSharper that your instance of VS.NET 2003
have the C++ components installed?

Is this a bug? If so, would you like me to add it to the tracker?



0
Comment actions Permalink

Done...it is issue 15584.

Dmitry Shaporenkov (JetBrains) wrote:

Hello Jason,

I'd rather say this is a known issue. For some reason, VS's API which is
used
for debugging unit tests, doesn't work if VC++ is not installed even if
the project being
debugged in purely managed. I'm not sure if the corresponding request is
already in the tracker,
so please add it.



Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>> I am trying to debug my unit tests in a simple c# library project, but
>> am running into an issue.
>>
>> I have VS.NET 2003 install on a Win XP Pro sp2 with the following
>> vs.net components installed:
>>
>> Microsoft Visual C# .NET 69586-335-0000007-18156
>> Dundas Chart - ASP.NET Enterprise Version: 3.5
>> JetBrains ReSharper 2.0.213.34
>> Microsoft Application Center Test
>> Microsoft SQL Server Report Designer
>> Microsoft Visual Studio .NET 2003 Hotfix (KB830348)
>> (Note: I do not install the C++ components.)
>>
>> While attempting to debug a unit test by clicking on the icon in the
>> editor window or the context menu I get the following ReSharper Error
>> Dialog with the message "Failed to attach to the debugger: Unmanaged
>> debugging is not available."
>>
>> I remember a bug posting that said to install the C++ portion of
>> VS.NET, so I did. Now, for the life of me, I cannot find the issue
>> number that I saw it in.
>>
>> Now I can debug my unit tests.
>>
>> Is it a requirement of ReSharper that your instance of VS.NET 2003
>> have the C++ components installed?
>>
>> Is this a bug? If so, would you like me to add it to the tracker?
>>


0

Please sign in to leave a comment.