theseus icon indicating copy to clipboard operation
theseus copied to clipboard

Empty log when using Theseus

Open smartscripts-nl opened this issue 9 years ago • 6 comments

When I debug javascript with, I do get to see the labels indicating calls. But when I click on a label I see an empty log, so no information about the calls at all.

In de Development Tools of Brackets I see this error:

Agent-chrome.js:274 Uncaught TypeError: Cannot read property 'wasThrown' of undefined

I suspect this to be the cause of the problem.

smartscripts-nl avatar Aug 25 '16 13:08 smartscripts-nl

Just want to confirm I have the same issue too.

Brackets version: 1.7 experimental build 1.7.0-16898 (release b0a363b71) Thesus version: 0.4.19

zambal avatar Oct 07 '16 17:10 zambal

+1

SoCentral2 avatar Oct 30 '16 15:10 SoCentral2

Same issue here. Waiting replies...

sleiter88 avatar Nov 02 '16 14:11 sleiter88

same here, didnt find any solutions yet according to the Brackets console, there's an error Uncaught TypeError: Cannot read property 'wasThrown' of undefined

in file C:\Users\{{user}}\AppData\Roaming\Brackets\extensions\user\theseus\src\Agent-chrome.js which comes from this part of the code:

 function _invoke(functionName, args, callback) {
        if (["initializingTracer", "initializingHits", "initializingExceptions", "connected"].indexOf(fsm.state) !== -1) {
            Inspector.Runtime.callFunctionOn(_tracerObjectId, TRACER_NAME + "." + functionName, args, true, true, function (res) {
                if (!res.wasThrown) {
                    callback && callback(res.result.value);
                } else {
                    console.log('Inspector.Runtime.callFunctionOn exception', res);
                    callback && callback();
                }
            });
        } else {
            callback && callback();
        }
    }

res is always undefined the the callback this error occurs every time the Theseus console is opened, or closed.

I dont know if its fully related, but its an error :)

ItamarShDev avatar Nov 05 '16 07:11 ItamarShDev

I also get this error.

Brackets Release 1.8 build 1.8.0-17108 Thesus 0.4.19

ghost avatar Nov 17 '16 09:11 ghost

+1

lhmlogin avatar Jun 06 '17 02:06 lhmlogin