1

I debug a python source file with

M-x realgud:ipdb then call ipdb as python3 -m pdb <sourcepath> <args>

I get 2 windows: ipdb ... shell and my source buffer.

How can I get the line being debugged to be highlighted?

Stefan
  • 26,404
  • 3
  • 48
  • 85
MMM
  • 115
  • 3
  • I also get this

    WARNING: your terminal doesn't support cursor position requests (CPR).

    – MMM Jun 08 '19 at 12:30

1 Answers1

1

There are a number of things you write that don't line up.

python3 -m pdb <sourcepath> <args>

invokes pdb, not ipdb. realgud looks for a prompt, and the one for ipdb is ipdb>. The prompt for pdb is (Pdb) and will not trigger look for postiion informatation when the wrong kind of prompt is printed.

Finally, I should say that if your are using Python and realgud trepan3k interacts with realgud much better.

rocky
  • 898
  • 7
  • 26