H
H
HasK2014-12-23 20:13:41
Debugging
HasK, 2014-12-23 20:13:41

How to solve Visual Studio 2012 and 2013 "object was closed by stub manager" problem?

After a few minutes of normal work in Visual Studio 2012 or 2013 (Express, Windows Desktop), when I start debugging I get an error message:
%D0%A1%D0%BA%D1%80%D0%B8%D0%BD%D1%88%D0%
The content is the same in both studios.
In 2013 studio there are also errors in the output:

...
"KR1.vshost.exe" (CLR v4.0.30319: KR1.vshost.exe). Загружено "C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms.DataVisualization\v4.0_4.0.0.0__31bf3856ad364e35\System.Windows.Forms.DataVisualization.dll". Загрузка символов пропущена. Модуль оптимизирован, включен параметр отладчика "Только мой код".
Поток 0x1434 завершился с кодом 259 (0x103).
Поток 0xa7c завершился с кодом 259 (0x103).
"KR1.vshost.exe" (CLR v4.0.30319: KR1.vshost.exe). Загружено "D:\projects\.......\bin\Debug\KR1.exe". Символы загружены.
"KR1.vshost.exe" (CLR v4.0.30319: KR1.vshost.exe). Загружено "C:\Windows\Microsoft.Net\assembly\GAC_MSIL\mscorlib.resources\v4.0_4.0.0.0_ru_b77a5c561934e089\mscorlib.resources.dll". Модуль был построен без символов.
Поток 0x1ed8 завершился с кодом 259 (0x103).
Поток 0x1bc0 завершился с кодом 259 (0x103).
Программа "[8776] KR1.vshost.exe" завершилась с кодом 0 (0x0).

At the same time, 2012 studio refuses to start debugging at all after the first occurrence, restarting the studio or switching the configuration (Debug to Release) helps, and 2013 starts debugging on the next try, or after a short time (about a minute), and hangs after debugging is completed.
Windows 8.1 single language.
Googling for the request "The object was closed by the stub manager, although there were external clients" does not give results, and I can not adequately translate into English, that's why I'm writing, maybe someone has come across it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
HasK, 2015-01-24
@HasK

It looks like the error is not a studio one, but a system one.
In the English studio 2013:
When the "stub" translated as "stub" it looked like it was googled to the original English text of the error:
"Error while trying to run project: The object has been run down by the stub manager while there are external clients" I
found a bug report in Microsoft on this error

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question