如何查看 C++ 的结果代码(为dll文件开发)
我正在开发一个 C++ 项目,它给了我一个 dll 文件。然后我将该 dll 文件添加为插件文件以在其他软件中使用。 这里的问题是,直到我在软件中运行 dll 代码之前,我无法看到 C++ 代码中的错误。 如果我可以在 Visual Studio 中针对某些特定的输入值运行 C++ 代码,那么我可以轻松找到错误所在。 例如,在上图中,我定义了一个张量,并尝试查找 double 之后定义的变量。如何在 C++ 中查看这些变量的结果? (视觉工作室)
I am working on a c++ project which gives me a dll file. Then I will add that dll file as a plugin file to use in other software.
The problem here is that I can not see the errors in my c++ code until I run the dll code in the software.
If I could run the C++ code in the visual studio, for some particular input values, then I can easily find where are my errors.
Here in the above picture, for example, I have defined a tensor and tried to find the variables defined after double. how can I see the results of these variables in C++? (visual studio)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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