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

doesn't work anymore #10

Open
simonbuehler opened this issue Jan 15, 2024 · 1 comment
Open

doesn't work anymore #10

simonbuehler opened this issue Jan 15, 2024 · 1 comment

Comments

@simonbuehler
Copy link

hi,

with latest vscode i get this trace:

2024-01-15 13:01:10.270 [error] [076923.python-image-preview] provider FAILED
2024-01-15 13:01:10.270 [error] TypeError: Cannot read properties of undefined (reading 'id')
at y. (/home/pi/.vscode-server/extensions/076923.python-image-preview-0.1.2/dist/extension.js:1:2628)
at Generator.next ()
at s (/home/pi/.vscode-server/extensions/076923.python-image-preview-0.1.2/dist/extension.js:1:157)

@simonbuehler
Copy link
Author

simonbuehler commented Feb 9, 2024

any chance this will be fixed?

.stackFrames[0].id seems to fail

findfVariables(e, n, i, t) {
                    return o(this, void 0, void 0, function* () {
                        const o = (yield e.customRequest("stackTrace", { threadId: n }))
                            .stackFrames[0].id,
                            r = (yield e.customRequest("scopes", { frameId: o })).scopes[0]
                                .variablesReference,
                            s = yield e.customRequest("variables", {
                                variablesReference: r,
                            });
                        if (!0 === t) {
                            const n = s.variables.find((e) => "self" === e.name);
                            var a = (yield e.customRequest("variables", {
                                variablesReference: n.variablesReference,
                            })).variables.find((e) => e.name === i);
                        } else a = s.variables.find((e) => e.name === i);
                        return [a, o];
                    });
                }

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

1 participant