eteran / edb-debugger

edb is a cross-platform AArch32/x86/x86-64 debugger.
GNU General Public License v2.0
2.7k stars 326 forks source link

Add possibility to follow a register in dump or stack #692

Closed owerosu closed 5 years ago

owerosu commented 5 years ago

Hi, I added two ways to follow a register. I also found some functions for this purpose in Debugger.cpp that seem to be unused (maybe related to a legacy register view?).

Regards, owerosu

10110111 commented 5 years ago

They are not unused. Try grepping for e.g. getCurrentRegisterContextMenuItems, and you'll find: https://github.com/eteran/edb-debugger/blob/c4dff5835033cbd1e8c72bc271001f9c2cfae6a6/plugins/ODbgRegisterView/RegisterView.cpp#L390

owerosu commented 5 years ago

This log appears when right clicking in register view:

QMetaObject::invokeMethod: No such method Debugger::getCurrentRegisterContextMenuItems()

That could explain why the features were missing. I'm investigating.

owerosu commented 5 years ago

This https://github.com/owerosu/edb-debugger/commit/61f50841111c468bde85a5cbbdfcad45a9be2a10 fix the issue and the mentioned features are now available.

(forget the two previous commits)