mdmintz / pdbp

pdbp (Pdb+): A drop-in replacement for pdb and pdbpp. To replace "pdb", add "import pdbp" to an "__init__.py" file.
Other
75 stars 2 forks source link

The debugger "edit" command opened more than just the active Python file. #26

Closed mdmintz closed 1 year ago

mdmintz commented 1 year ago

The debugger edit command opened more than just the active Python file.

In the description, it says that the edit command is supposed to open the active file and put the cursor at the currently-active line, but instead, it opened the active file to the first line, and opened a new file that was named with the line number expected for the active file. It could be that some text editors supported the format of opening a file directly to a specific line, but since not all of them do, the edit command should just open the active file, and then then user can manually go to the line number desired.

mdmintz commented 1 year ago

This was resolved in 1.3.0 - https://github.com/mdmintz/pdbp/releases/tag/v1.3.0