We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
const { loadImage, } = require('canvas'); async function main() { const image = await loadImage('./assets/simple.gif'); console.log(image); } main();
Run node debugger, breakpoint on console log, hover over image, try to inspect __proto__
__proto__
Working debug
Assert failed! Expression: object->internalFieldCount() > 0 https://i.imgur.com/81MxbKB.png
Hover via VSCode, but related issues point to that being directly node bug.
The text was updated successfully, but these errors were encountered:
Fix assertion failure when using VSCode debugger to inspect Image proto
6991561
GetSource and SetSource are sort of weird plain functions that require the `this` context to be an Image instance. Fixes Automattic#1534
Fix assertion failure when using VSCode debugger to inspect Image pro…
2e9ea73
…to (#1550) GetSource and SetSource are sort of weird plain functions that require the `this` context to be an Image instance. Fixes #1534
zbjornson
Successfully merging a pull request may close this issue.
What steps will reproduce the bug?
Run node debugger, breakpoint on console log, hover over image, try to inspect
__proto__
How often does it reproduce? Is there a required condition?
What is the expected behavior?
Working debug
What do you see instead?
Assert failed! Expression: object->internalFieldCount() > 0
https://i.imgur.com/81MxbKB.png
Additional information
Hover via VSCode, but related issues point to that being directly node bug.
The text was updated successfully, but these errors were encountered: