Replies: 4 comments 2 replies
-
Now I just go into the workspace directory to run ghidra, but I think this is inconvenient. |
Beta Was this translation helpful? Give feedback.
-
Am assuming we’re talking about using the debugger vs. debugging Ghidra in, say, Eclipse, yes? If so, which debugger are you using, i.e. gdb, lldb, dbgeng? |
Beta Was this translation helpful? Give feedback.
-
Apologies for the delayed response, by the by - your question somehow escaped our notice! |
Beta Was this translation helpful? Give feedback.
-
@aphage OK,so two answers: In the old "record"-style version of the debugger (default pre-11.1), start the debugger from Debugger Targets using "MS dbgeng" or "MS dbgmodel". Open the "Connectors" node in Objects and select "Launch process", then hit the "Launch (X)" button to the right. The value of "Dir" gets passed to CreateProcess as the initial directory. In the newer Python-based traceRMI-style version of the debugger (default for 11.1), that option doesn't exist yet. Oddly, I was just working on implementing it today. Will probably be available in 11.2. In 11.1, however, both options are available. You may just have to configure the debugger tool to include "Debugger Targets" and "Objects". |
Beta Was this translation helpful? Give feedback.
-
Is there a way to set the process workspace while debugging?
I don't know how to set the process workspace while debugging.
Beta Was this translation helpful? Give feedback.
All reactions