inducer / inducer/pudb

Variable printing in command line messes up ui

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

Description

This happens consistently on my machine. To reproduce:

1. pip install tensorflow
2. pudb3 pudberror.py
3. set breakpoint on line 5
4. print x twice in command line

`pudberror.py`
```python
import tensorflow as tf

x = tf.compat.v1.placeholder(tf.float32, shape=(1024, 1024))

print(x)
```

![Screenshot 2019-07-12 at 10 24 35](https://user-images.githubusercontent.com/10086550/61117845-60a1b600-a48f-11e9-8b2a-767e3bde0b51.png)
![Screenshot 2019-07-12 at 10 25 00](https://user-images.githubusercontent.com/10086550/61117847-60a1b600-a48f-11e9-9a0a-ad66474b3bd5.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the problem with pudberror.py: install tensorflow, launch pudb3, stop at line 5, and print x twice in the command line. Trace the command-line display behavior after the second print and verify that repeated variable printing leaves the debugger UI intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, tensorflow
Domain
cli, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.