Lancer Northgard, construire un Trading Post et lancer une trade route avec n'importe qui.
Mettre un breakpoint tout à la fin de la fonction Player.updateTrade sur cette ligne :
Faire F11 (Step into), on arrive alors dans StringMap.hx :
Premier problème, Shift + F11 (Step out) ne ressort pas de la fonction mais passe sur la ligne 61 de return dans cette fonction.
Si je fais des F5 pour quitter le debugger et retourner au jeu, je break non stop sur cette ligne
Si je fais F10 ou Shift + F11, ça crash carrément. Un petit F5 et le jeu crash aussi.
ERRROR RangeError [ERR_INVALID_OPT_VALUE]: The value "2147483655" is invalid for option "size"
Called from module RangeError [ERR_INVALID_OPT_VALUE]: The value "2147483655" is invalid for option "size"
Called from module at Function.alloc (buffer.js:259:3)
Called from module at Function._new (c:\Users\Amandine.vscode\extensions\haxefoundation.haxe-hl-1.0.0\adapter.js:3602:37)
Called from module at hld_Debugger.readMem (c:\Users\Amandine.vscode\extensions\haxefoundation.haxe-hl-1.0.0\adapter.js:7056:41)
Called from module at hld_Debugger.makeStack (c:\Users\Amandine.vscode\extensions\haxefoundation.haxe-hl-1.0.0\adapter.js:6742:18)
Called from module at hld_Debugger.prepareStack (c:\Users\Amandine.vscode\extensions\haxefoundation.haxe-hl-1.0.0\adapter.js:6472:28)
Called from module at hld_Debugger.wait (c:\Users\Amandine.vscode\extensions\haxefoundation.haxe-hl-1.0.0\adapter.js:6368:8)
Called from module at hld_Debugger.step (c:\Users\Amandine.vscode\extensions\haxefoundation.haxe-hl-1.0.0\adapter.js:6647:18)
Called from module at c:\Users\Amandine.vscode\extensions\haxefoundation.haxe-hl-1.0.0\adapter.js:1211:25
Called from module at HLAdapter.safe (c:\Users\Amandine.vscode\extensions\haxefoundation.haxe-hl-1.0.0\adapter.js:1188:11)
Called from module at HLAdapter.stepInRequest (c:\Users\Amandine.vscode\extensions\haxefoundation.haxe-hl-1.0.0\adapter.js:1210:8)
Steps pour la repro :
Lancer Northgard, construire un Trading Post et lancer une trade route avec n'importe qui.
Mettre un breakpoint tout à la fin de la fonction Player.updateTrade sur cette ligne :
Faire F11 (Step into), on arrive alors dans StringMap.hx :
Premier problème, Shift + F11 (Step out) ne ressort pas de la fonction mais passe sur la ligne 61 de return dans cette fonction.
Si je fais des F5 pour quitter le debugger et retourner au jeu, je break non stop sur cette ligne
Si je fais F10 ou Shift + F11, ça crash carrément. Un petit F5 et le jeu crash aussi.
ERRROR RangeError [ERR_INVALID_OPT_VALUE]: The value "2147483655" is invalid for option "size" Called from module RangeError [ERR_INVALID_OPT_VALUE]: The value "2147483655" is invalid for option "size" Called from module at Function.alloc (buffer.js:259:3) Called from module at Function._new (c:\Users\Amandine.vscode\extensions\haxefoundation.haxe-hl-1.0.0\adapter.js:3602:37) Called from module at hld_Debugger.readMem (c:\Users\Amandine.vscode\extensions\haxefoundation.haxe-hl-1.0.0\adapter.js:7056:41) Called from module at hld_Debugger.makeStack (c:\Users\Amandine.vscode\extensions\haxefoundation.haxe-hl-1.0.0\adapter.js:6742:18) Called from module at hld_Debugger.prepareStack (c:\Users\Amandine.vscode\extensions\haxefoundation.haxe-hl-1.0.0\adapter.js:6472:28) Called from module at hld_Debugger.wait (c:\Users\Amandine.vscode\extensions\haxefoundation.haxe-hl-1.0.0\adapter.js:6368:8) Called from module at hld_Debugger.step (c:\Users\Amandine.vscode\extensions\haxefoundation.haxe-hl-1.0.0\adapter.js:6647:18) Called from module at c:\Users\Amandine.vscode\extensions\haxefoundation.haxe-hl-1.0.0\adapter.js:1211:25 Called from module at HLAdapter.safe (c:\Users\Amandine.vscode\extensions\haxefoundation.haxe-hl-1.0.0\adapter.js:1188:11) Called from module at HLAdapter.stepInRequest (c:\Users\Amandine.vscode\extensions\haxefoundation.haxe-hl-1.0.0\adapter.js:1210:8)
Ma version actuelle de shiroTools :