You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
215 lines
8.8 KiB
215 lines
8.8 KiB
<AddIn name="Debugger" |
|
author="David Srbecký" |
|
copyright="prj:///doc/copyright.txt" |
|
description="SharpDevelop Managed Debugger" |
|
addInManagerHidden = "preinstalled"> |
|
|
|
<Manifest> |
|
<Identity name = "ICSharpCode.Debugger"/> |
|
</Manifest> |
|
|
|
<Runtime> |
|
<Import assembly=":ICSharpCode.SharpDevelop" /> |
|
<Import assembly="Debugger.AddIn.dll"> |
|
<ConditionEvaluator name = "IsBreakpointSet" class = "Debugger.AddIn.IsBreakpointCondition"/> |
|
<ConditionEvaluator name = "IsBreakpointActive" class="Debugger.AddIn.IsActiveBreakpointCondition" /> |
|
</Import> |
|
<Import assembly="Debugger.Core.dll"/> |
|
</Runtime> |
|
|
|
<Path name="/SharpDevelop/Services"> |
|
<Service id="ICSharpCode.SharpDevelop.Debugging.IDebuggerService" |
|
class="ICSharpCode.SharpDevelop.Services.WindowsDebugger" /> |
|
</Path> |
|
|
|
<Path name = "/SharpDevelop/ViewContent/TextEditor/ContextMenu"> |
|
<Condition name = "IsProcessRunning" isdebugging="True"> |
|
<Condition name = "IsProcessRunning" isdebugging="True" isprocessrunning="False"> |
|
<MenuItem id = "DebuggerSetCurrentStatement" |
|
insertbefore = "Refactoring" |
|
label = "${res:MainWindow.Windows.Debug.SetCurrentStatement}" |
|
icon = "Icons.16x16.Debug.StepInto" |
|
class = "Debugger.AddIn.SetCurrentStatementCommand"/> |
|
</Condition> |
|
<MenuItem id = "DebuggerRunToCursor" |
|
insertbefore = "Refactoring" |
|
label = "${res:MainWindow.Windows.Debug.RunToCursor}" |
|
icon = "Icons.16x16.Debug.Continue" |
|
class = "Debugger.AddIn.RunToCursorCommand"/> |
|
<MenuItem id = "DebuggerSeparator" |
|
insertbefore = "Refactoring" |
|
type = "Separator"/> |
|
</Condition> |
|
<MenuItem id="BreakpointSeparator" type = "Separator" /> |
|
<Include id="SetBreakpoint" item="/SharpDevelop/Workbench/MainMenu/Debug/Toggle Breakpoint" /> |
|
<Condition name="IsBreakpointSet"> |
|
<Condition name="IsBreakpointActive"> |
|
<MenuItem id="DisableBreakpoint" |
|
class="Debugger.AddIn.DisableBreakpointMenuCommand" |
|
label= "${res:MainWindow.Windows.Debug.Conditional.Breakpoints.DisableBreakpoint}" /> |
|
</Condition> |
|
<ComplexCondition> |
|
<Not> |
|
<Condition name="IsBreakpointActive" /> |
|
</Not> |
|
<MenuItem id="EnableBreakpoint" |
|
class="Debugger.AddIn.EnableBreakpointMenuCommand" |
|
label= "${res:MainWindow.Windows.Debug.Conditional.Breakpoints.EnableBreakpoint}" /> |
|
</ComplexCondition> |
|
</Condition> |
|
</Path> |
|
|
|
<Path name="/SharpDevelop/Workbench/MainMenu/Debug"> |
|
<Condition name = "IsProcessRunning" isdebugging="False" action="Disable"> |
|
<MenuItem id = "DebugExecutable" |
|
insertbefore = "ExecutionControlSeparator" |
|
label = "${res:MainWindow.Windows.Debug.DebugExecutable}" |
|
class = "Debugger.AddIn.DebugExecutableMenuCommand"/> |
|
</Condition> |
|
<!-- <MenuItem id="AddExpressionBreakpoint" |
|
insertafter="Toggle Breakpoint" |
|
label = "${res:MainWindow.Windows.Debug.AddExpressionBreakpoint}" |
|
shortcut="Shift|F7" |
|
class = "Debugger.AddIn.AddExpressionBreakpointCommand"/>--> |
|
<Condition name = "IsTextSelected" action="Disable"> |
|
<MenuItem id="AddWatchExpression" |
|
insertafter="AddExpressionBreakpoint" |
|
icon = "Icons.16x16.WatchAdd" |
|
label = "${res:MainWindow.Windows.Debug.AddWatchExpression}" |
|
shortcut="Ctrl|F7" |
|
class = "Debugger.AddIn.AddWatchExpressionCommand"/> |
|
</Condition> |
|
</Path> |
|
|
|
<Path name="/SharpDevelop/Pads/ClassBrowser/Toolbar"> |
|
<Condition name = "IsProcessRunning" isdebugging="False" action="Disable"> |
|
<ToolbarItem id = "DebugExecutable" |
|
icon = "Icons.16x16.Debug.Assembly" |
|
tooltip = "${res:MainWindow.Windows.Debug.DebugExecutable}" |
|
class = "Debugger.AddIn.DebugExecutableMenuCommand"/> |
|
</Condition> |
|
</Path> |
|
|
|
<Path name = "/SharpDevelop/Workbench/Pads"> |
|
<Pad id = "BreakPointsPad" |
|
category = "Debugger" |
|
title = "${res:MainWindow.Windows.Debug.Breakpoints}" |
|
icon = "PadIcons.BreakPoints" |
|
class = "ICSharpCode.SharpDevelop.Gui.Pads.BreakPointsPad" |
|
defaultPosition = "Bottom, Hidden" /> |
|
|
|
<Pad id = "CallStackPad" |
|
category = "Debugger" |
|
title = "${res:MainWindow.Windows.Debug.CallStack}" |
|
icon = "PadIcons.CallStack" |
|
class = "ICSharpCode.SharpDevelop.Gui.Pads.CallStackPad" |
|
defaultPosition = "Bottom, Hidden" /> |
|
|
|
<Pad id = "LoadedModulesPad" |
|
category = "Debugger" |
|
title = "${res:MainWindow.Windows.Debug.Modules}" |
|
icon = "PadIcons.LoadedModules" |
|
class = "ICSharpCode.SharpDevelop.Gui.Pads.LoadedModulesPad" |
|
defaultPosition = "Bottom, Hidden" /> |
|
|
|
<Pad id = "ThreadsPad" |
|
category = "Debugger" |
|
title = "${res:MainWindow.Windows.Debug.Threads}" |
|
icon = "PadIcons.Threads" |
|
class = "ICSharpCode.SharpDevelop.Gui.Pads.ThreadsPad" |
|
defaultPosition = "Bottom, Hidden" /> |
|
|
|
<Pad id = "LocalVarPad" |
|
category = "Debugger" |
|
title = "${res:MainWindow.Windows.Debug.LocalVariables}" |
|
icon = "PadIcons.LocalVariables" |
|
class = "ICSharpCode.SharpDevelop.Gui.Pads.LocalVarPad" |
|
defaultPosition = "Bottom, Hidden" /> |
|
|
|
<Pad id = "ConsolePad" |
|
category = "Debugger" |
|
title = "${res:MainWindow.Windows.Debug.Console}" |
|
icon = "PadIcons.Output" |
|
class = "ICSharpCode.SharpDevelop.Gui.Pads.ConsolePad" |
|
defaultPosition = "Bottom, Hidden" /> |
|
|
|
<Pad id = "WatchPad" |
|
category = "Debugger" |
|
title = "${res:MainWindow.Windows.Debug.Watch}" |
|
icon = "PadIcons.Watches" |
|
class = "ICSharpCode.SharpDevelop.Gui.Pads.WatchPad" |
|
defaultPosition = "Bottom, Hidden" /> |
|
</Path> |
|
|
|
<Path name = "/SharpDevelop/Dialogs/OptionsDialog"> |
|
<OptionPanel id = "Debugging" |
|
label = "${res:Dialog.Options.IDEOptions.Debugging}" |
|
insertbefore = "TextEditorOptions"> |
|
<OptionPanel id = "General" |
|
label = "${res:Dialog.Options.IDEOptions.General}" |
|
class = "Debugger.AddIn.Options.DebuggingOptionsPanel"/> |
|
|
|
<OptionPanel id = "Symbols" |
|
label = "${res:Dialog.Options.IDEOptions.Debugging.Symbols}" |
|
class = "ICSharpCode.SharpDevelop.Gui.OptionPanels.DebuggingSymbolsPanel"/> |
|
</OptionPanel> |
|
</Path> |
|
|
|
<Path name="/SharpDevelop/Pads/ConsolePad/ToolBar"> |
|
<Include id="StandardCommands" path="/SharpDevelop/Pads/CommonConsole/ToolBar" /> |
|
</Path> |
|
|
|
<Path name="/SharpDevelop/Services/DebuggerService/Visualizers"> |
|
<Class class="Debugger.AddIn.Visualizers.TextVisualizerDescriptor" /> |
|
<Class class="Debugger.AddIn.Visualizers.XmlVisualizerDescriptor" /> |
|
<Class class="Debugger.AddIn.Visualizers.ObjectGraphVisualizerDescriptor" /> |
|
<Class class="Debugger.AddIn.Visualizers.GridVisualizerDescriptor" /> |
|
</Path> |
|
|
|
<Path name="/SharpDevelop/TreeNodeFactories"> |
|
<Class id="DebuggerTreeNodesFactory" |
|
class="ICSharpCode.SharpDevelop.Gui.Pads.DebuggerTreeNodesFactory" /> |
|
</Path> |
|
|
|
<Path name = "/SharpDevelop/Services/DebuggerService/ModuleContextMenu"> |
|
<MenuItem id = "AddModuleToWorkspace" |
|
label = "${res:MainWindow.Windows.ClassBrowser.AddToWorkspace}" |
|
icon = "Icons.16x16.AssemblyFromFile" |
|
class = "ICSharpCode.SharpDevelop.Gui.Pads.AddModuleToWorkspaceCommand"/> |
|
</Path> |
|
|
|
<Path name="/AddIns/Debugger/Tooltips/ContextMenu/TreeNode"> |
|
<MenuItem id="Copy" |
|
label="${res:MainWindow.Windows.Debug.LocalVariables.CopyToClipboard}" |
|
icon="Icons.16x16.CopyIcon" |
|
class="Debugger.AddIn.TreeModel.CopyCommand" /> |
|
</Path> |
|
|
|
<Path name="/AddIns/Debugger/Tooltips/ContextMenu/ErrorNode"> |
|
<MenuItem id="ShowFullError" |
|
label="${res:MainWindow.Windows.Debug.LocalVariables.ShowFullError}" |
|
class="Debugger.AddIn.TreeModel.ShowFullErrorCommand" /> |
|
<Include path="/AddIns/Debugger/Tooltips/ContextMenu/TreeNode" /> |
|
</Path> |
|
|
|
<Path name="/AddIns/Debugger/Tooltips/ContextMenu/ValueNode"> |
|
<Include path="/AddIns/Debugger/Tooltips/ContextMenu/TreeNode" /> |
|
</Path> |
|
|
|
<Path name="/SharpDevelop/Pads/WatchPad/ToolBar"> |
|
<ToolbarItem id="AddWatch" |
|
icon="Icons.16x16.WatchAdd" |
|
tooltip="${res:MainWindow.Windows.Debug.Watch.AddWatch}" |
|
class="Debugger.AddIn.AddWatchCommand" /> |
|
<ToolbarItem id="RemoveWatch" |
|
icon="Icons.16x16.WatchDelete" |
|
tooltip="${res:MainWindow.Windows.Debug.Watch.RemoveWatch}" |
|
class="Debugger.AddIn.RemoveWatchCommand" /> |
|
<ToolbarItem type="Separator" /> |
|
<ToolbarItem id="ClearWatches" |
|
icon="Icons.16x16.WatchesDelete" |
|
tooltip="${res:MainWindow.Windows.Debug.Watch.RemoveAll}" |
|
class="Debugger.AddIn.ClearWatchesCommand" /> |
|
<ToolbarItem type="Separator" /> |
|
</Path> |
|
</AddIn>
|
|
|