Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在 dbx 中打印 C 字符串的全长。如何强制 dbx 打印整个字符串?
if its a long string it gives following msg: (dbx) p svalue expression too large to evaluate (dbx)
从文档中,它说
-e num为评估堆栈选择较大的大小(如您所愿)。默认堆栈大小为 20,000 字节。num = 字节数。如果您看到消息太大而无法评估,请重新运行 dbx 提供大于 20,000 的值
-e num