6 Replies Last post: May 21, 2012 6:00 PM by Tim Hanson  
Tim Hanson Newbie 4 posts since
Feb 8, 2012
Currently Being Moderated

Feb 8, 2012 9:15 PM

"cannot launch debugger" in a unit test error code -1989083114

hi,

 

i hope no one laughs that I am using Visual Studio 2005 in this case (historical reasons.)

 

Generally i am getting happier with R# every day. today i ran into this problem, however:

  "cannot launch debugger" error code -1989083114

 

i'm trying to debug a unit test. incidentally, i can run all the unit tests.

 

(I think the problem is new / recent. that is, i think until fairly recently I was able to debug in a unit test in this setting.)

 

i'm using

  MS Visual Studio 2005 Version 8.0.50727.867

and

  R# 6.1 Build 6.1.37.86

 

i'd be grateful for any ideas how to fix this or get around it.

 

cheers,

 

Tim

Andrey Serebryansky JetBrains 2,739 posts since
Jan 12, 2005
Currently Being Moderated
Feb 10, 2012 9:48 PM in response to: Tim Hanson
Re: "cannot launch debugger" in a unit test error code -1989083114

Hello Tim

     Which unit test framework do you use? Are you able to debug applications and attach debugger to a .NET process using Visual Studio? Thank you!

 

Andrey Serebryansky

Senior Support Engineer

JetBrains, Inc

http://www.jetbrains.com

"Develop with pleasure!"

Matthias Kientz Newbie 1 posts since
Feb 20, 2012
Currently Being Moderated
Mar 11, 2012 7:57 PM in response to: Tim Hanson
Re: "cannot launch debugger" in a unit test error code -1989083114

I have exactly the same problem in VS2005 on a system where also VS2010 is installed.

On another system (where no VS2010 is additionally installed) I cannot reproduce this issue in VS2005 with the same solution.

The error seems to be new in 6.1., I've seen it for the first time after an upgrade to 6.1.1000.82, which I use.

 

Update:

I found the following workaround which solved the issue for me:

 

In %ProgramFiles%\JetBrains\ReSharper\v6.1\Bin\JetBrains.ReSharper.TaskRunner.CLR4.MSIL.exe.config

I replaced:

  <startup useLegacyV2RuntimeActivationPolicy="true">
    <requiredRuntime version="v4.0" />
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
  </startup>

 

with:
   <startup>
      <supportedRuntime version="v2.0.50727"/>
   </startup>

 

Additional information:

.NET RunTime version of my project is: v2.0.50727

At the machine on which the error occurs is .NET 4.0 installed, at the other one .NET 4.0 is not installed.

d chestnutt Newbie 82 posts since
Jan 20, 2004
Currently Being Moderated
Feb 22, 2012 10:49 PM in response to: Tim Hanson
Re: "cannot launch debugger" in a unit test error code -1989083114

Hmm, I have exact same problem, with same exact versions (VS2005 and R# 6.1)

 

Additional info:

1. I can run nunit tests from R# just fine

2. I am running in a VM, and accessing project (source and dlls) on my host machine, via a mapped drive.

3. My OS is Win7 (both guest and host)

 

This is a new installation. In my old machine (XP) where I was not using a VM, it worked fine.

 

-Dave

More Like This

  • Retrieving data ...