stack - WebAssembly: is there a way to debug/inspect the stack?
问题描述
Is it possible to inspect the stack while a function is running, or after it trapped? I know this can be achieved by running custom interpreters, but I wonder if this is possible in the default browser environment.
解决方案
是的你可以。Chrome 和 FireFox 中的调试工具都允许您对 wasm 模块进行断点。它们还允许您通过以 WebAssembly 文本格式呈现二进制模块来检查它们的内容。
当代码通过断点停止时,您可以看到调用堆栈、局部变量等...
推荐阅读
- c# - 如何从 C# 打印 HTML 到 PDF?
- code-signing-certificate - 签署内核模式驱动程序
- database-design - Cassandra中分区键上的重复条目
- laravel - Laravel Dusk 测试用例是否需要 createApplication() 方法?
- c# - 查找 MahAppsMetro 主题
- arrays - 有没有办法过滤句子中的单词,然后加粗?
- python - 比较 2 个 csv 文件并使用 python 在空列中获取我的输出
- scala - SparkSQL中没有聚合函数的GROUP BY
- twitter-bootstrap - bootstrap 5 导航栏从导航栏切换器中排除导航栏文本
- google-cloud-platform - 与谷歌地球引擎和谷歌云平台并行处理?