adobe-research / theseus

A pretty darn cool JavaScript debugger for Brackets
Other
1.34k stars 69 forks source link

Empty log when using Theseus #85

Open smartscripts-nl opened 8 years ago

smartscripts-nl commented 8 years ago

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.

zambal commented 8 years ago

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

SoCentral2 commented 7 years ago

+1

sleiter88 commented 7 years ago

Same issue here. Waiting replies...

ItamarShDev commented 7 years ago

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 :)

ghost commented 7 years ago

I also get this error.

Brackets Release 1.8 build 1.8.0-17108 Thesus 0.4.19

lhmlogin commented 7 years ago

+1