简体   繁体   English

Eclipse Mars DDMS仅显示Level中的第一个字母而不显示Messages

[英]Eclipse Mars DDMS only shows first letter in Level and no Messages

I upgraded Eclipse Luna to Mars. 我将Eclipse Luna升级为火星。 Now in my DDMS perspective, the only column available was the Level and there only the first letter of each entry was shown (as here: Eclipse LogCat shows only the first letter from each message ). 现在在我的DDMS透视图中,唯一可用的列是Level,并且只显示了每个条目的第一个字母(如下所示: Eclipse LogCat仅显示每条消息的第一个字母 )。 In order to fix this I changed my 为了解决这个问题,我改变了我的想法

/workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.android.ide.eclipse.ddms.prefs /workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.android.ide.eclipse.ddms.prefs

I added 我补充道

ddms.logcat.auotmonitor.level=error  
ddms.logcat.automonitor=false  
ddms.logcat.automonitor.userprompt=true  
logcat.view.colsize.Level=54  
eclipse.preferences.version=1  
logcat.view.colsize.Application=169  
logcat.view.colsize.Time=156  
logcat.view.colsize.Tag=124  
logcat.view.colsize.PID=54  
logcat.view.colsize.Messages=100

However, still the level only displays the first character and the Messages column is missing, even though I specified it in the preferences. 但是,即使我在首选项中指定了级别,级别仍然只显示第一个字符并且“消息”列丢失。

Really, all of these entries should be visible by default. 实际上,默认情况下所有这些条目都应该是可见的。 How can I get them to work in Eclipse Mars? 我怎样才能让他们在Eclipse Mars中工作?

更改.Messages = 100到.Text = 100这对我有用。

Go to : /workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/ And open the file com.android.ide.eclipse.ddms.prefs using any editor and copy the following code to that file. 转至:/ workspace / .metadata / .plugins / gr.eclipse.core.runtime / .settings /并使用任何编辑器打开文件com.android.ide.eclipse.ddms.prefs并将以下代码复制到该文件。 It will surely work. 它肯定会奏效。

com.android.ide.eclipse.ddms.explorer.data=73
com.android.ide.eclipse.ddms.explorer.info=76
com.android.ide.eclipse.ddms.explorer.name=239
com.android.ide.eclipse.ddms.explorer.permissions=76
com.android.ide.eclipse.ddms.explorer.size=120
com.android.ide.eclipse.ddms.explorer.time=42
ddms.logcat.auotmonitor.level=error
ddms.logcat.automonitor.userprompt=true
devicePanel.Col0=117
devicePanel.Col1=51
devicePanel.Col4=68
eclipse.preferences.version=1
logcat.view.colsize.Application=219
logcat.view.colsize.Level=29
logcat.view.colsize.PID=50
logcat.view.colsize.TID=50
logcat.view.colsize.Tag=143
logcat.view.colsize.Text=543
logcat.view.colsize.Time=130
threadPanel.Col0=32
threadPanel.Col1=44
threadPanel.Col2=72
threadPanel.Col3=45
threadPanel.Col4=45
threadPanel.Col5=280
threadPanel.stack.col0=515

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM