Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python print() always returns None in debug console #9564

Closed
whubbla opened this issue Jan 13, 2020 · 1 comment
Closed

python print() always returns None in debug console #9564

whubbla opened this issue Jan 13, 2020 · 1 comment
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug

Comments

@whubbla
Copy link

whubbla commented Jan 13, 2020

Issue Type: Bug

Prior to the most recent version of VS Code, when I would print() something in the debug console, it would print, e.g., a nice-looking Pandas dataframe, or an integer, or anything really. Now it always returns None and doesn't print anything.

So, to recreate, run a python file, pause it somewhere, and type print() for any object that exists, or even one that is created in the debugger, and it will return "None" instead of a printed version of what you told it to print.

It does print to the terminal, though. Not sure if this is a VS Code problem or python extension problem (I don't know how to run python without the python extension, so it's difficult for me to test).

Extension version: 2020.1.57204
VS Code version: Code 1.41.1 (26076a4de974ead31f97692a0d32f90d735645c0, 2019-12-18T14:58:56.166Z)
OS version: Windows_NT x64 10.0.17763

System Info
Item Value
CPUs Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz (4 x 2500)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: unavailable_off
skia_renderer: disabled_off
surface_control: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 31.54GB (20.45GB free)
Process Argv
Screen Reader no
VM 0%
@ghost ghost added the triage-needed Needs assignment to the proper sub-team label Jan 13, 2020
@karthiknadig karthiknadig added triage bug Issue identified by VS Code Team member as probable bug labels Jan 13, 2020
@ghost ghost removed the triage-needed Needs assignment to the proper sub-team label Jan 13, 2020
@int19h
Copy link

int19h commented Jan 13, 2020

Dupe of microsoft/ptvsd#2036

@int19h int19h closed this as completed Jan 13, 2020
@ghost ghost removed the triage label Jan 13, 2020
@lock lock bot locked as resolved and limited conversation to collaborators Jan 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

3 participants