| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Add optional argument to pdb `retval` command, to allow accessing the
current value being returned in the stack.
For example, given the following code:
```python
def get_thing():
debugger()
return Thing(value=123)
```
```
(pdb) retval
<Thing instance at 0x1234>
(pdb) retval xx
(pdb) xx.value
123
```
|
This PR is stale because it has been open for 30 days with no activity. |
Sorry, something went wrong.
|
This PR is stale because it has been open for 30 days with no activity. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Add optional argument to pdb retval command, to allow accessing the
current value being returned in the stack.
For example, given the following code:
https://bugs.python.org/issue42524