macos的VScode中用lldb编译器debug时动态数组只显示首个的问题
针对macos的lldb编译器,无法用@或是强制类型转换的方法
只有用pointerName,[size]
的格式来显示动态数组
参考资料: https://github.com/Microsoft/vscode-cpptools/issues/172
http://cn.voidcc.com/question/p-ucvqogec-bdp.html
https://github.com/microsoft/vscode-cpptools/issues/688
https://docs.microsoft.com/en-us/visualstudio/debugger/watch-and-quickwatch-windows?view=vs-2022
https://shanepanter.com/2020/12/10/view-point-as-array-vscode.html
Debug之路 文章被收录于专栏
记录遇到过的Bug