[]调试按钮,IDE报错

******** Unhandled error in debug adapter: TypeError: Cannot read property 'callFrames' of undefined
    at stackTraceToString (c:\Program Files (x86)\laya\resources\app\extensions\laya-debug\node_modules\vscode-chrome-debug-core\out\src\chrome\consoleHelper.js:138:22)
    at Object.formatConsoleMessage (c:\Program Files (x86)\laya\resources\app\extensions\laya-debug\node_modules\vscode-chrome-debug-core\out\src\chrome\consoleHelper.js:39:48)
    at ChromeDebugAdapter.onConsoleAPICalled (c:\Program Files (x86)\laya\resources\app\extensions\laya-debug\node_modules\vscode-chrome-debug-core\out\src\chrome\chromeDebugAdapter.js:419:50)
    at ChromeDebugAdapter.onMessageAdded (c:\Program Files (x86)\laya\resources\app\extensions\laya-debug\node_modules\vscode-chrome-debug-core\out\src\chrome\chromeDebugAdapter.js:437:18)
    at Client.chrome.Console.onMessageAdded.params (c:\Program Files (x86)\laya\resources\app\extensions\laya-debug\node_modules\vscode-chrome-debug-core\out\src\chrome\chromeDebugAdapter.js:156:59)
    at emitOne (events.js:90:13)
    at Client.emit (events.js:182:7)
    at Client.processMessage (c:\Program Files (x86)\laya\resources\app\extensions\laya-debug\node_modules\noice-json-rpc\lib\noice-json-rpc.js:64:18)
    at LoggingSocket.Client.socket.on.message (c:\Program Files (x86)\laya\resources\app\extensions\laya-debug\node_modules\noice-json-rpc\lib\noice-json-rpc.js:28:46)
    at emitTwo (events.js:105:20)
已邀请:

qihei

赞同来自:

问题解决了。是因为console.trace()写法造成的

cuixueying

赞同来自:

好的!

ohkei - as3、as2、h5

赞同来自:

js和as不能混着写啊兄弟

要回复问题请先

商务合作
商务合作