2012-04-14 86 views
1

在逐行調試每行時確實有效。源查找路徑正確但調試器找不到文件(Eclipse EE IDE)?

步進到位於另一個文件調試器顯示的函數:Source not found.

同時顯示選項Edit Source Lookup Path...但正確的包列出。
(也嘗試用目錄路徑指向。)

沒有其他的斷點設置,這是一個常見的解決方案。

正確方向的任何一點都很有幫助。

謝謝。

線程在調試器窗口中的[主]:

Thread [main] (Suspended) 
    ClassNotFoundException(Throwable).<init>(String, Throwable) line: 217 
    ClassNotFoundException(Exception).<init>(String, Throwable) line: not available 
    ClassNotFoundException.<init>(String) line: not available 
    URLClassLoader$1.run() line: not available 
    AccessController.doPrivileged(PrivilegedExceptionAction<T>, AccessControlContext) line: not available [native method] 
    Launcher$ExtClassLoader(URLClassLoader).findClass(String) line: not available 
    Launcher$ExtClassLoader.findClass(String) line: not available 
    Launcher$ExtClassLoader(ClassLoader).loadClass(String, boolean) line: not available 
    Launcher$AppClassLoader(ClassLoader).loadClass(String, boolean) line: not available 
    Launcher$AppClassLoader.loadClass(String, boolean) line: not available 
    Launcher$AppClassLoader(ClassLoader).loadClass(String) line: not available 
    MyMain.<init>() line: 24  
    MyMain.main(String[]) line: 36 

回答

3

你肯定有包源,不僅在你的項目中的二進制文件?

如果您確定檢查用於運行應用程序的啓動配置。您可以看到名爲「Source」的選項卡。你需要的包裹的來源也在那裏?

相關問題