2013-11-14 40 views
1

我想在eclipse中調試代碼,當我將鼠標懸停在變量上時,在joda Interval.class中看不到變量值。在eclipse調試模式下不顯示變量值

我確實看到了其他.class文件(不是joda類)中定義的其他變量的值。

它只是爲了約達類。我確實重置了調試透視圖並刪除了目標文件夾並創建了它,但問題仍然存在。請檢查附件。

任何幫助,將不勝感激。


variabled_values_not_showing_up

回答

1
My problem are solved changing maven pom.xml file... 
<plugin> 
       <groupId>org.apache.maven.plugins</groupId> 
       <artifactId>maven-compiler-plugin</artifactId> 
       <version>3.1</version> 
       <configuration> 
        <source>1.7</source> 
        <target>1.7</target> 
        <debug>true</debug> 
        <debuglevel>lines,vars,source</debuglevel> 
        <encoding>${project.build.sourceEncoding}</encoding> 
       </configuration> 
      </plugin> 
相關問題