After not building Ghidra locally for a while I've synced the source but can no longer step through it in the debugger #7367
Replies: 2 comments 3 replies
-
@hippietrail I'm not sure if this was clear from @ryanmkurtz's post but deleting the various debugger directories should have been a one-off event. That is, we deprecated the GADP / IN-VM interfaces and removed them in advance of the latest release, so, if you upgraded from the code before they were deprecated to the code after, you would need to delete those. Once things have gotten to be a bit of a mess, it's probably easiest to re-clone the repo and re-build. The instructions on github should suffice. If this doesn't work for you, i.e. you still have errors, send us an errors you see in the Terminal, the Debug Console, or the console you launch Ghidra from (if you use "support/ghidraDebug" vs. "ghidraRun). |
Beta Was this translation helpful? Give feedback.
-
You need to prepare for eclipse too. My command is: |
Beta Was this translation helpful? Give feedback.
-
As in a previous question from some weeks back, I had to delete half a dozen sub-projects to get it to build, including some related to debugging.
But unlike that time I now can't step through code in the debugger. When it gets to where my breakpoint is it shows an error "Source not found." and an "Edit the source lookup path..." which has several options.
I chose "File System Directory" and selected the root directory of my clone of the Ghidra repo. But running it again I end up in the same place:
I don't know if this is related to:
I'm not from the Java/Eclipse world and don't know how to proceed.
Beta Was this translation helpful? Give feedback.
All reactions