Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>OK, so I hate to be "that guy", given the number of people for whom this worked, but this didn't work at all for me. I mean that the "Edit Source Lookup..." menu item was not in the context menu. I did not miss the instruction to do this in the Debug Perspective (presumably in the Project Explorer in the Debug Perspective). I tried it while the app was running and while the app was suspended. I tried checking the menu for the application's project (presumably what the instructions refer to) and for the library's project. No dice. This is with the latest Eclipse build.</p> <p>However, I was able to resolve the issue:</p> <ol> <li>Set a breakpoint in either your application or the library you are trying to link source for. You can actually put this anywhere as long as <em>the library you are trying to link source for has a function that will appear on the call stack when the breakpoint is hit</em>.</li> <li>Start debugging your application.</li> <li>Navigate your app to hit the breakpoint.</li> <li>Make sure you are in the Debug perspective.</li> <li>In the Debug tab (where the call-stack appears), find <em>any</em> function from your library.</li> <li>Right-click that function. The "Edit Source Lookup..." menu option should be there (close to the bottom).</li> <li>From here, the instructions are the same as Styler's. Click "Add", select "Java Project" and add your project (or multiple projects).</li> <li>Before you exit the "Edit Source Lookup..." window, if you are like me, you will see that Eclipse has chosen to add a bunch of stuff to the list that you didn't choose. Some of that stuff (probably under expandable items with names like "Android Private Libraries" may be the jars for the libraries you just added source for. Remove those jars from the list.</li> <li>Profit!</li> </ol>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload