rDr4g0n/JsDebuggr

SublimeText 2 errors

Closed this issue · 1 comments

File ".\JsDebuggr.py", line 397, in on_selection_modified
TypeError: unbound method get_breakpointList() must be called with JsDebuggr  instance as first argument (got type instance instead)

line 429ish:
breakpointList = JsDebuggr.get_breakpointList(JsDebuggr, view)

python 3 lets you call unbound method and pass the class instance in, but python 2 doesn't. i feel like creating an instance of it will scope it to a specific view... i dunno... i need to think about it.

latest push seems to make this work. need to have it tested.