Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty log when using Theseus #85

Open
smartscripts-nl opened this issue Aug 25, 2016 · 6 comments
Open

Empty log when using Theseus #85

smartscripts-nl opened this issue Aug 25, 2016 · 6 comments

Comments

@smartscripts-nl
Copy link

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
Copy link

zambal commented Oct 7, 2016

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
Copy link

+1

@sleiter88
Copy link

Same issue here. Waiting replies...

@ItamarShDev
Copy link

ItamarShDev commented Nov 5, 2016

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
Copy link

ghost commented Nov 17, 2016

I also get this error.

Brackets Release 1.8 build 1.8.0-17108
Thesus 0.4.19

@lhmlogin
Copy link

lhmlogin commented Jun 6, 2017

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants