Skip to content

Commit

Permalink
Fix problem with Ninja initialize with debugger-plugin.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsargiot committed Apr 29, 2013
1 parent 1398b4e commit dc49d9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debugger_plugin/Debugger.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ def initialize(self):
self.logger.info("Initializing plugin.")

# Basic services
self.ide = ninja_ide.gui.ide.IDE()
self.editor = self.locator.get_service('editor')
self.toolbar = self.locator.get_service('toolbar')
self.menuApp = self.locator.get_service('menuApp')
Expand Down Expand Up @@ -92,6 +91,7 @@ def debug_start(self, fn_run):
"""
self.logger.info("Session start.")
# Activate the UI elements (watches widget, threads, etc)
self.ide = ninja_ide.gui.ide.IDE()
self._activate_ui()
try:
# Add environment variable to be able to debug django projects
Expand Down

0 comments on commit dc49d9d

Please sign in to comment.