0

With eclipse CDT, you have the "debugger console" to execute gdb commands. I want in a debugging session in eclipse to execute jdb commands.

Is there a way to achieve this goal ?

I parse almost every eclipse menus, but nothing that fits my need.

7
  • 2
    I think Eclipse uses JVM-TI or similar (maybe JDWP) and not jdb. Why would you want to execute jdb commands?
    – dan1st
    Commented Jul 3, 2024 at 19:55
  • Do you have an example of such a command?
    – nitind
    Commented Jul 3, 2024 at 20:02
  • The main command I want to use is: redefine Commented Jul 3, 2024 at 20:24
  • I suppose with JVM-TI you have similar commands than jdb. If I can do it with another tool it is fine for me. Commented Jul 3, 2024 at 20:26
  • When Eclipse is attached or you've launched a Java application from it and recompiles your code, it automatically swaps in the new version of methods. You don't have to call redefine manually.
    – nitind
    Commented Jul 4, 2024 at 0:01

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.