无法计算表达式,因为我们在本机代码中停止了。 [英] Cannot evaluate expression because we are stopped in native code.

查看:64
本文介绍了无法计算表达式,因为我们在本机代码中停止了。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

正在实现并执行线程,我的线程已死或停止。其中一个显示为CurrentThread =无法计算表达式,因为我们在本机代码中停止。为什么它显示这样可以任何一个帮助。

 公共 功能 getMessage()作为 字符串 

解决方案

< blockquote>尝试在您正在测试的例程的开头添加断点。运行您的调试测试,然后您可以删除断点,如果没有其他错误,它应该工作。至少为我工作。


am implementing and executing threads and my thread is dead or stoped.and in one of them it is showing as CurrentThread = Cannot evaluate expression because we are stopped in native code.why is its showing like this can any one help.

Public Function getMessage() As String

解决方案

Try adding a breakpoint at the beginning of the routine you are testing. Run your debug test, then you can remove the breakpoint and if there's nothing else wrong, it should work. Worked for me, at least.


这篇关于无法计算表达式,因为我们在本机代码中停止了。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆