Модераторы: Partizan, gambit
  

Поиск:

Ответ в темуСоздание новой темы Создание опроса
> Исключение в Trace.TraceInformation 
:(
    Опции темы
Competitor
Дата 6.3.2015, 16:59 (ссылка) | (нет голосов) Загрузка ... Загрузка ... Быстрая цитата Цитата


Опытный
**


Профиль
Группа: Участник
Сообщений: 440
Регистрация: 23.3.2005
Где: Tula

Репутация: -1
Всего: -1



В приложении WPF осуществляется логирование через Trace.Listeners.Add и Trace.TraceInformation. 
При запуске приложения несколько строк выводится в лог успешно, а на очередном выводе в лог взрывается:
Цитата

at Ilrun.Assert.Verify(Boolean value)
at Ilrun.Stuff.AssertThrowIsInst(Slot slotThis, Type type, Boolean fDecodeProxy)
at Ilrun.MscorlibHooks.System_Runtime_CompilerServices_JitHelpers.UnsafeCast(VirtualMachine vm, MethodBase method, CallArgs args)
at Ilrun.DefaultHost.TryExecuteMethod(VirtualMachine virtualMachine, MethodBase method, CallArgs args)
at Microsoft.VisualStudio.Vil.NotifyPointInProcHost.InProcHost.TryExecuteMethod(VirtualMachine virtualMachine, MethodBase method, CallArgs args)
at Ilrun.VirtualMachine.ExecuteMethodInternal2(MethodBase method, CallArgs args, Boolean fAllowHooks)
at Ilrun.VirtualMachine.ExecuteMethodInternal(MethodBase method, CallArgs args, Boolean fAllowHooks)
at Ilrun.VirtualMachine.ExecuteMethod(MethodBase method, CallArgs args)
at Ilrun.Stuff.ExecuteCall(VirtualState vs, Type tConstrainedPrefix, ILOpCode opCode, Int32 token, String& arg)
at Ilrun.Stuff.ExecuteInlineToken(VirtualState vs, String& instruction, Int32 opCodeSize, ILOpCode opCode)
at Ilrun.Stuff.ExecuteInstructionWorker(VirtualState vs, ILOpCode& opCode, Slot pendingException)
at Ilrun.Stuff.ExecuteInstruction(VirtualState vs, ILOpCode& opCode)
at Ilrun.Stuff.ExecuteWorker(VirtualMachine vm, IVirtualStackFrame frame, CallArgs callArgs)
at Ilrun.VirtualMachine.ExecuteMethodWithInterpreter(MethodBase method, CallArgs args, IVirtualStackFrame frame)
at Ilrun.VirtualMachine.ExecuteMethodInternal2(MethodBase method, CallArgs args, Boolean fAllowHooks)
at Ilrun.VirtualMachine.ExecuteMethodInternal(MethodBase method, CallArgs args, Boolean fAllowHooks)
at Ilrun.VirtualMachine.ExecuteMethod(MethodBase method, CallArgs args)
at Ilrun.Stuff.ExecuteCall(VirtualState vs, Type tConstrainedPrefix, ILOpCode opCode, Int32 token, String& arg)
at Ilrun.Stuff.ExecuteInlineToken(VirtualState vs, String& instruction, Int32 opCodeSize, ILOpCode opCode)
at Ilrun.Stuff.ExecuteInstructionWorker(VirtualState vs, ILOpCode& opCode, Slot pendingException)
at Ilrun.Stuff.ExecuteInstruction(VirtualState vs, ILOpCode& opCode)
at Ilrun.Stuff.ExecuteWorker(VirtualMachine vm, IVirtualStackFrame frame, CallArgs callArgs)
at Ilrun.VirtualMachine.ExecuteMethodWithInterpreter(MethodBase method, CallArgs args, IVirtualStackFrame frame)
at Ilrun.VirtualMachine.ExecuteMethodInternal2(MethodBase method, CallArgs args, Boolean fAllowHooks)
at Ilrun.VirtualMachine.ExecuteMethodInternal(MethodBase method, CallArgs args, Boolean fAllowHooks)
at Ilrun.VirtualMachine.ExecuteMethod(MethodBase method, CallArgs args)
at Ilrun.Stuff.ExecuteCall(VirtualState vs, Type tConstrainedPrefix, ILOpCode opCode, Int32 token, String& arg)
at Ilrun.Stuff.ExecuteInlineToken(VirtualState vs, String& instruction, Int32 opCodeSize, ILOpCode opCode)
at Ilrun.Stuff.ExecuteInstructionWorker(VirtualState vs, ILOpCode& opCode, Slot pendingException)
at Ilrun.Stuff.ExecuteInstruction(VirtualState vs, ILOpCode& opCode)
at Ilrun.Stuff.ExecuteWorker(VirtualMachine vm, IVirtualStackFrame frame, CallArgs callArgs)
at Ilrun.VirtualMachine.ExecuteMethodWithInterpreter(MethodBase method, CallArgs args, IVirtualStackFrame frame)
at Ilrun.VirtualMachine.ExecuteMethodInternal2(MethodBase method, CallArgs args, Boolean fAllowHooks)
at Ilrun.VirtualMachine.ExecuteMethodInternal(MethodBase method, CallArgs args, Boolean fAllowHooks)
at Ilrun.VirtualMachine.ExecuteMethod(MethodBase method, CallArgs args)
at Ilrun.Stuff.ExecuteCall(VirtualState vs, Type tConstrainedPrefix, ILOpCode opCode, Int32 token, String& arg)
at Ilrun.Stuff.ExecuteInlineToken(VirtualState vs, String& instruction, Int32 opCodeSize, ILOpCode opCode)
at Ilrun.Stuff.ExecuteInstructionWorker(VirtualState vs, ILOpCode& opCode, Slot pendingException)
at Ilrun.Stuff.ExecuteInstruction(VirtualState vs, ILOpCode& opCode)
at Ilrun.Stuff.ExecuteWorker(VirtualMachine vm, IVirtualStackFrame frame, CallArgs callArgs)
at Ilrun.VirtualMachine.ExecuteMethodWithInterpreter(MethodBase method, CallArgs args, IVirtualStackFrame frame)
at Ilrun.VirtualMachine.ExecuteMethodInternal2(MethodBase method, CallArgs args, Boolean fAllowHooks)
at Ilrun.VirtualMachine.ExecuteMethodInternal(MethodBase method, CallArgs args, Boolean fAllowHooks)
at Ilrun.VirtualMachine.ExecuteMethod(MethodBase method, CallArgs args)
at Ilrun.Stuff.ExecuteCall(VirtualState vs, Type tConstrainedPrefix, ILOpCode opCode, Int32 token, String& arg)
at Ilrun.Stuff.ExecuteInlineToken(VirtualState vs, String& instruction, Int32 opCodeSize, ILOpCode opCode)
at Ilrun.Stuff.ExecuteInstructionWorker(VirtualState vs, ILOpCode& opCode, Slot pendingException)
at Ilrun.Stuff.ExecuteInstruction(VirtualState vs, ILOpCode& opCode)
at Ilrun.Stuff.ExecuteWorker(VirtualMachine vm, IVirtualStackFrame frame, CallArgs callArgs)
at Ilrun.VirtualMachine.ExecuteMethodWithInterpreter(MethodBase method, CallArgs args, IVirtualStackFrame frame)
at Ilrun.VirtualMachine.ExecuteMethodInternal2(MethodBase method, CallArgs args, Boolean fAllowHooks)
at Ilrun.VirtualMachine.ExecuteMethodInternal(MethodBase method, CallArgs args, Boolean fAllowHooks)
at Ilrun.VirtualMachine.ExecuteMethod(MethodBase method, CallArgs args)
at Microsoft.VisualStudio.Vil.NotifyPointInProcHost.NPRunner.Run(Boolean isEntryQuery, Object thisArg, Object[] args, Object retVal)
at Microsoft.VisualStudio.Vil.NotifyPointInProcHost.NPRunner.RunPDQInternal(String containingType, Boolean isEntryQuery, Object thisArg, Object[] args, Object retVal, String hintPath, String assemblyLocation)
at Microsoft.VisualStudio.Vil.NotifyPointInProcHost.NPRunner.RunPDQ(Int32 assemblyIndex, String containingType, Boolean isEntryQuery, Object thisArg, Object[] args, Object retVal)
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at System.Diagnostics.DebuggerHiddenAttribute.__NotifyPointRuntime_RunProgrammableDataQuery(Int32 , String , Boolean , Object , Object[] , Object )
at System.Diagnostics.Trace.TraceInformation(String format, Object[] args)
...


В инете инфы по таким стектрейсам почти нет. Может кто-нибудь сталкивался с чем-то подобным?
Проблема не воспроизводится. Воспроизвелась только один раз у тестировщика.
PM MAIL WWW   Вверх
  
Ответ в темуСоздание новой темы Создание опроса
Прежде чем создать тему, посмотрите сюда:
mr.DUDA
THandle

Используйте теги [code=csharp][/code] для подсветки кода. Используйтe чекбокс "транслит" если у Вас нет русских шрифтов.
Что делать если Вам помогли, но отблагодарить помощника плюсом в репутацию Вы не можете(не хватает сообщений)? Пишите сюда, или отправляйте репорт. Поставим :)
Так же не забывайте отмечать свой вопрос решенным, если он таковым является :)


Если Вам понравилась атмосфера форума, заходите к нам чаще! С уважением, mr.DUDA, THandle.

 
0 Пользователей читают эту тему (0 Гостей и 0 Скрытых Пользователей)
0 Пользователей:
« Предыдущая тема | Общие вопросы по .NET и C# | Следующая тема »


 




[ Время генерации скрипта: 0.0558 ]   [ Использовано запросов: 22 ]   [ GZIP включён ]


Реклама на сайте     Информационное спонсорство

 
По вопросам размещения рекламы пишите на vladimir(sobaka)vingrad.ru
Отказ от ответственности     Powered by Invision Power Board(R) 1.3 © 2003  IPS, Inc.