inducer / inducer/pudb

Using pudb as an API

Open
#395 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
3.2k
Forks
245
Avg merge
13m
Merged PRs (30d)
5

Description

Hello,

I would like to use pudb as an API, to integrate it with my favorite editor kakoune.

I was wondering if there is a way to use it more or less like this:
```python
file_to_debug = pudb.load('foo.py')

# adding breakpoint to line 3 of foo.py
file_to_debug.add_breakpoint(3)

# being able to use command next, continue and step into
file_to_debug.continue() # should stop at the next breakpoint ( line 3 )

# being able to retrieve data from the right side panel
file_to_debug.get_variables() # getting all variables loaded at line 3
file_to_debug.get_stack()

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.