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

Could not parse evaluation result as JSON: Unexpected token b in JSON at position 0 Evaluation result was: beta@15 "100 4 2 6 5 10 " Used debug adapter: java #82

Open
khoilr opened this issue Sep 1, 2020 · 4 comments

Comments

@khoilr
Copy link

khoilr commented Sep 1, 2020

When I debug Java file, it doesn't visualize data, it just give me this message. Help me! How can visualize my data?
image

@hediet
Copy link
Owner

hediet commented Sep 1, 2020

In case of java, you can only visualize json strings! Your toString method needs to return proper json, also you need to enter "this.toString()", not "this".

@khoilr
Copy link
Author

khoilr commented Sep 1, 2020

image
I got same issue

@hediet
Copy link
Owner

hediet commented Sep 1, 2020

In case of java, you can only visualize json strings!

See the readme for further explanations ;) There is also a java demo.

@vedhasam
Copy link

vedhasam commented Aug 18, 2022

I guess then I would run str(variable_name) in the case of python. Could I also run python import commands, e.g. import pandas as pd or import numpy as np in the debug visualizer? I ask because np.array(str(variable_name)) results in NameError: name 'np' is not defined.

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

No branches or pull requests

3 participants