Rx运行时出错

时间:2015-06-27 04:16:45

标签: c# .net debugging system.reactive

我开发了一个使用Reactive Extensions来处理来自串行端口的数据的组件。当我运行使用我的组件的应用程序时,应用程序停止工作,在应用程序事件日志中我发现此错误:

Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentOutOfRangeException
Stack:
   at System.Reactive.ScheduledObserver`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Dispatch(System.Reactive.Disposables.ICancelable)
   at System.Reactive.Concurrency.Scheduler.b__32(System.Action`1, System.Reactive.Disposables.ICancelable)
   at System.Reactive.Concurrency.NewThreadScheduler+c__DisplayClass3`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__2()
   at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Threading.ThreadHelper.ThreadStart()

我的代码都没有出现在该堆栈跟踪中,所以我不确定如何调试它。任何人都可以提出任何建议吗?

0 个答案:

没有答案