Hi,
I’ve accidentally marked “No” + “Don’t ask me again” on the debug dialog which prompted for error in code.
Now, I can’t debug with these errors (not real errors, can proceed with them).
How can I clear this default setting? want to be asked each time again.
couldn’t find anything in the settings.
Thanks in advance
Could you please clarify what prompt you are talking about?
Defman
March 31, 2015, 3:20pm
3
When you try to debug code with syntax errors:
Ahh thanks Defman.
I can’t seem to find a pref for it in the prefs window. You could reset the pref via a macro though:
require('ko/prefs').deletePref('syntax_errors_on_debug')
1 Like
The notification in red in the screenshot.
I accidentally pressed “No” with “Don’t ask me again” checked.
How can I revent it?
Defman
March 31, 2015, 3:45pm
6
Create a macro with this code:
require('ko/prefs').deletePref('syntax_errors_on_debug')
And run it once
Where can I add macro code in Komodo Linux IDE ?
All I have is an option to record macro.
Defman
March 31, 2015, 4:01pm
8
Open Right Pane, choose and click right mouse button on the pane, then choose Add - New Macro...
1 Like
Do I need any Python related stuff installed?
get the following error
If so, how about that error??
Defman
April 1, 2015, 7:57am
12
Ahh… your komodo version is 8.5…
Defman
April 1, 2015, 8:05am
14
Try that:
ko.prefs.deletePref('syntax_errors_on_debug')
Defman
April 1, 2015, 8:22am
16
Hm…
alert(ko.prefs.hasPref('syntax_errors_on_debug'))
What returns this macro?
It might be set on the current file you’re working with, try:
ko.views.manager.currentView.prefs.deletePref('syntax_errors_on_debug')
And just to cover all our bases:
ko.projects.manager.currentProject.prefset.deletePref('syntax_errors_on_debug')
That should definitely clear the pref.
returns an error:
ko.projects.manager.currentProject.prefset.deletePref('syntax_errors_on_debug')
TypeError: ko.projects.manager.currentProject is null
exception[fileName] = New_Macro1.js
exception[lineNumber] = 3
exception[columnNumber] = 0
First command was successful, but didn’t solve the issue.
Defman
April 2, 2015, 8:11am
20
brdaniel12:
returns an error:
Because you haven’t any projects opened.