我目前正在使用Visual代码在Haxe中使用堆进行编码。后者最近更新到1.56版本,这给我带来了一个我无法解决的奇怪问题。在更新之前,我可以使用Hashlink单击Run和Debug来打开游戏的窗口。更新之后,当我运行和调试时,它将不再打开窗口,尽管compile.hxml和launch.json与以前完全相同:
compile.hxml:
-cp src
-lib heaps
-lib hlsdl
-hl main.hl
-main Main.json
"version": "0.2.0",
"configurations": [
{
"name": "HashLink (launch)",
"request": "launch",
"type": "hl",
"cwd": "${workspaceFolder}",
"preLaunchTask": {
"type": "haxe",
"args": "active configuration"
}
},
{
"name": "HashLink (attach)",
"request": "attach",
"port": 6112,
"type": "hl",
"cwd": "${workspaceFolder}",
"preLaunchTask": {
"type": "haxe",
"args": "active configuration"
}
}
]有没有人遇到过类似的问题?
发布于 2021-05-12 18:07:54
更新:发布了hashlink-调试器1.1.2,这将解决问题。
这是一个众所周知的问题:
您可以降级到以前的VSCode发行版或订阅该问题,并等待hashlink调试器更新。
https://stackoverflow.com/questions/67508306
复制相似问题