Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Error reading integer #110

Closed
huguesv opened this issue Feb 23, 2018 · 1 comment
Closed

Error reading integer #110

huguesv opened this issue Feb 23, 2018 · 1 comment

Comments

@huguesv
Copy link
Contributor

huguesv commented Feb 23, 2018

From VS (might not be a ptvsd bug, not sure at this point):
Create new python application
Add new item, python unit test
Set the unit test as startup file
F5

Result:

---------------------------
Microsoft Visual Studio
---------------------------
Error reading integer. Unexpected token: Boolean. Path 'exitCode'.
---------------------------
OK   
---------------------------
@huguesv huguesv added the Bug label Feb 23, 2018
@huguesv
Copy link
Contributor Author

huguesv commented Mar 2, 2018

It's parsing 'true' as an integer

 1> [DebugAdapter] <--   E (process): {"type": "event", "seq": 5, "event": "process", "body": {"name": "C:\\Users\\huvalo\\source\\repos\\PythonApplication67\\PythonApplication67\\test1.py", "systemProcessId": 16620, "isLocalProcess": true, "startMethod": "launch"}}
 1> [DebugAdapter] <--   E (exited): {"type": "event", "seq": 6, "event": "exited", "body": {"exitCode": true}}
 1> ERROR: Protocol error

JsonReaderException: Error reading integer. Unexpected token: Boolean. Path 'exitCode'.

 1> ERROR: Error reading integer. Unexpected token: Boolean. Path 'exitCode'.
 1> Debug adapter non-protocol standard output: Content-Length: 62

{"type": "event", "seq": 7, "event": "terminated", "body": {}}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant