奇怪的是,我在任何地方都找不到它,但是当我将 strace 的输出标准输出到这样的文件中时:
strace foo.exe | & tee foo.log
Run Code Online (Sandbox Code Playgroud)
输出很短,我怎样才能使宽度更长?
Sea*_*der 42
Linux 下的“-s”选项,来自“strace”包,可以让你指定宽度:
-s strsize Specify the maximum string size to print (the
default is 32). Note that filenames are not consid-
ered strings and are always printed in full.
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
31048 次 |
最近记录: |