Replies: 2 comments 1 reply
-
|
Did you use the GhidraDev eclipse plugin to create your project and to launch Ghidra? |
Beta Was this translation helpful? Give feedback.
-
|
The script was created in Ghidra. Then I opened it in Eclipse from ghidra, closed it, and started ghidra by "Debug As > pyGhidra". Right now I have created another script with similar source within Eclipse (GhidraDev > New > GhidraScript>), even created new Ghidra Script project with the same result. The debugging session correctly stops at breakpoints, variables can be seen, just these exceptions. I already worked it around by not reporting KeyError exceptions in |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm not sure this is a ghidra bug or my wrong setup. I'm trying to write a simple pyGhidra script to clean my disassembled code. I setup a Ghidra (12.0.1) environment with debugging environment using Eclipse (2025-12), PyDev (13.1.0). I'm using python version 3.14.2. However when stepping through the code in Eclipse my console gets cluttered with errors like:
The script continues, but my print statements are lost somehow, once these errors start appearing.
There are other attributes giving the same errors, like
propertiesFileorreferencePrimary- none of which I use in the script - which for test purposes is very simple:My investigation results so far are that for the "missing" attributes - there are setter methods, like
public void setPotentialPropertiesFileLocationsinghidra\app\script\GhidraScript.javabut there are no getters (or a standard way to retrieve their values).Is there a way to get rid of these exceptions?
Beta Was this translation helpful? Give feedback.
All reactions