将Windbg限制扩展到1MB以上?

问题描述

我目前正在尝试在Windbg(x64)中运行脚本。但是,我尝试读取的脚本超过1MB,因此,我收到错误消息“命令文件执行失败,Win32错误0n87。参数不正确”。有谁知道我如何增加Windbg中的限制,以便我可以传递10MB的脚本?谢谢!

在windbg中显示错误

$t2=00000000037b9db8
Address            Gen   Heap   segment            begin              allocated           size
00000000037b9db8   2      0     0000000003430000   0000000003431000   00000000043e8fb0    0x78(120)
Command file execution Failed,Win32 error 0n87
    "The parameter is incorrect."

解决方法

感谢您的帮助,也很抱歉没有提供很多信息。显然,当文件大小超过1MB且文本文件中使用了固定名称的别名时,似乎会发生该错误。解决方法是使用普通别名,但超出了限制。