Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

生成的txt文件为空 #38

Closed
hippyk opened this issue Jul 4, 2017 · 6 comments
Closed

生成的txt文件为空 #38

hippyk opened this issue Jul 4, 2017 · 6 comments

Comments

@hippyk
Copy link

hippyk commented Jul 4, 2017

两个projects一样的配置,执行 AppOutPutMethodOrder ,其中一个正常,另外一个生成的txt却为空

@hippyk
Copy link
Author

hippyk commented Jul 4, 2017

如果说为空的那个工程名含有特殊字符的话,可输出的文件名却是正确的

@hippyk
Copy link
Author

hippyk commented Jul 4, 2017

我把为空的那个工程的输入输出路径指向不为空的那个,结果也是正确的

@hippyk
Copy link
Author

hippyk commented Jul 4, 2017

又发现类似问题
println line
orderFile.append(line + "\n")
console输出有内容,但是文件依然是空的

@hippyk
Copy link
Author

hippyk commented Jul 4, 2017

it.eachLine {

这里根本没有进来,但是极偶尔会成功一次。。。

@zjw-swun
Copy link
Owner

zjw-swun commented Jul 4, 2017

@hippyk 819151780我qq

@hippyk
Copy link
Author

hippyk commented Jul 4, 2017

trace to txt 为空的问题,应该是工程路径有特殊字符,改成相对路径解决了:
baseComand = "dmtracedump -ho " + "captures/" + it.name + " >> " +
"captures/" + orderFile
.name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants