如何处理这个断言调试失败
I am debugging a code that generates five dxf files. Everything works correctly for the first generation. As soon as I start creating the second dxf file I get this error.
Could someone help me and explain me the problem. I am not able to post the whole code because the code is very big.
thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
失败的原因是我以错误的方式使用了这两种数据类型:
const wchar_t*
wstring
图层名称和线型名称必须是
wstring
代码>. constwchar_t*
是不允许的,它会使我的调试器崩溃。很抱歉我没有发布代码,因为它非常广泛,而且我无法看到具体的错误位置。我希望这可以帮助你们。
The reason for this failure was that I used these two data types in the wrong way:
const wchar_t*
wstring
The layer name and linetype name must be
wstring
. The constwchar_t*
is not allowed and crashes my debugger. I'm sorry I didn't post the code as it's very extensive and I wasn't able to see the specific error location.I hope this can help you guys.