可以评估表达式,因为堆栈的顶部有一个负框架
我正在C#中创建一个测试站程序,在该程序中,我通过FTDI与UART电缆与测试PCB进行通信。一切都很好,但有时我的应用程序崩溃。 通过调试,我发现崩溃发生在FTDI对象接口识别器上,因为无法评估表达式,因为堆栈顶部有一个负帧。我正在尝试在这一行中要做的是
ftstat = mymod.write(txbuf,bytestowrite,ref numbytesWritten
我可以检查端口是否打开。
我不明白有时候它运行几天,在其他时候,几个小时后才崩溃,同时做同样的事情。
I'm creating a test station program in C# where I communicate with a test pcb through a ftdi to Uart cable. All works fine but sometimes my application crashes.
Through debugging I found that the crash occures on the FTDI object InterfaceIdentifier because the Expression can't be evaluated, because there is a negative frame on top of the stack. What I'm trying to do in this line is
ftStat = myMod.Write(txbuf, bytestowrite, ref numBytesWritten
I can check that the Port is open.
What I don't understand is that sometimes it runs for several days and on other times it just crashes after a few hours while doing the same stuff.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论