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

Dirac console error when listing a var at breakpoint #28

Closed
hipitihop opened this issue Jul 19, 2016 · 1 comment
Closed

Dirac console error when listing a var at breakpoint #28

hipitihop opened this issue Jul 19, 2016 · 1 comment
Labels

Comments

@hipitihop
Copy link

What I did:
var is names "rules", in console I type rules and received undefined , I then entered js/rules and received this error, but following it correctly listed and cutom formatted my var a vector of maps.

Environment:
Dirac Runtime v0.6.2 , CLJS Devtools 0.7.2 , Dirac Chrome extension 0.6.2
Linux Ubuntu 14.04LTS Chrome unstable: Version 53.0.2785.8 dev (64-bit)

Internal Dirac Error: DevTools code has thrown an unhandled exception
TypeError: Cannot read property 'relativeToElement' of null
    at Object._updateBoxPosition (chrome-extension://kbkdngfljkchidcjpnfcgcokkbhlkogi/devtools/front_end/inspector.js:3299:115)
    at Object.updateSuggestions (chrome-extension://kbkdngfljkchidcjpnfcgcokkbhlkogi/devtools/front_end/inspector.js:3342:151)
    at Object._completionsForJavascriptReady (chrome-extension://kbkdngfljkchidcjpnfcgcokkbhlkogi/devtools/front_end/console_module.js:56:18)
    at Object._reportCompletions (chrome-extension://kbkdngfljkchidcjpnfcgcokkbhlkogi/devtools/front_end/inspector.js:6396:1)
    at Object.receivedPropertyNames (chrome-extension://kbkdngfljkchidcjpnfcgcokkbhlkogi/devtools/front_end/inspector.js:6386:6)
    at propertiesCollected (chrome-extension://kbkdngfljkchidcjpnfcgcokkbhlkogi/devtools/front_end/inspector.js:5843:1)
    at Object.remoteObjectBinder (chrome-extension://kbkdngfljkchidcjpnfcgcokkbhlkogi/devtools/front_end/inspector.js:6602:1)
    at callback (chrome-extension://kbkdngfljkchidcjpnfcgcokkbhlkogi/devtools/front_end/inspector.js:4347:39)
    at Object.dispatchResponse (chrome-extension://kbkdngfljkchidcjpnfcgcokkbhlkogi/devtools/front_end/inspector.js:4354:10)
    at Object.dispatch (chrome-extension://kbkdngfljkchidcjpnfcgcokkbhlkogi/devtools/front_end/inspector.js:4304:60)
@darwin darwin added the bug label Jul 21, 2016
@darwin
Copy link
Member

darwin commented Jul 21, 2016

Thanks for reporting. This one will be easy to fix.

A note to myself:
Calling updateSuggestions[1] with null anchor box. Previous call to _updateAnchorBox() left anchor box uninitialised.

[1]

this._suggestBox.updateSuggestions(this._anchorBox, annotatedCompletions, selectedIndex, shouldShowForSingleItem, this._userEnteredText);

@darwin darwin closed this as completed in ab7c7ea Jul 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants