Bot Framework System.Runtime.InteropServices.SEHException在对话框中半随机发生

时间:2019-02-05 21:57:46

标签: c# .net botframework

我遇到了我的应用程序进入中断模式的问题。这是在名为TourInitiationDialog.cs的特定对话框中发生的,但在其他任何对话框中都没有发生。我从根对话框的OnTurnAsync内部以常规方式调用此对话框:

await dialogContext.BeginDialogAsync(TourInitiationDialog.id, cancellationToken);

在该对话框中,Visual Studio会显示以下消息:PopupWindow.showAtLocation(View parent, int gravity, int x, int y) 当我按图片中的Continue execution时,我得到了:

An unhandled exception of type 'System.Runtime.InteropServices.SEHException' occurred in System.Private.CoreLib.dll External component has thrown an exception.

'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.9\System.Collections.Immutable.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. The program '[26216] dotnet.exe' has exited with code 0 (0x0).

我从对话框中添加了一个要点。第一步之后的任何步骤都会中断。要点如下:https://i.imgur.com/FdfEvPb.png

这种随机性使我很难调试。我已经调查了错误本身,但到目前为止还没有运气。有谁对为什么会导致此错误有任何建议?它也发生在多台计算机上,所以我不认为这是由于我的Visual Studio 2017。

0 个答案:

没有答案