mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Bug 1264154 - Fix Fennec debugging on Mac r=ted
This commit is contained in:
parent
b198a432f2
commit
502a4ed174
@ -174,8 +174,11 @@ def get_default_debugger_name(search=DebuggerSearch.OnlyFirst):
|
||||
looking for other compatible debuggers (|DebuggerSearch.KeepLooking|).
|
||||
'''
|
||||
|
||||
mozinfo.find_and_update_from_json()
|
||||
os = mozinfo.info['os']
|
||||
|
||||
# Find out which debuggers are preferred for use on this platform.
|
||||
debuggerPriorities = _DEBUGGER_PRIORITIES[mozinfo.os if mozinfo.os in _DEBUGGER_PRIORITIES else 'unknown']
|
||||
debuggerPriorities = _DEBUGGER_PRIORITIES[os if os in _DEBUGGER_PRIORITIES else 'unknown']
|
||||
|
||||
# Finally get the debugger information.
|
||||
for debuggerName in debuggerPriorities:
|
||||
|
Loading…
Reference in New Issue
Block a user