0

I want to open a saved .trace file, which I created using Debug.startMethodTracing() directly from the code. However, after copying it to my PC and trying to open it in DDMS, I get the error "The File [myfile].trace could not be found", which is strange, since I can open and read the file in Notepad without issues.

4

1 回答 1

0

经过进一步调查,我发现奇怪的是 DDMS 没有显示特定文件的“修改日期”,与其他打开良好的跟踪相比:

在此处输入图像描述

文件首选项显示修改日期为 01.01.1970,这似乎会导致 DDMS 出现问题。我刚刚打开文件,添加了一个小修改(空格或其他东西)并再次保存它以获得正确的修改日期。现在 DDMS 可以再次打开该文件。

于 2013-07-16T12:45:53.943 回答