~ubuntu-branches/ubuntu/wily/monodevelop/wily

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
<Addin id = "Debugger"
       namespace = "MonoDevelop"
       name	= "Debugger support for MonoDevelop"
       author = "Ankit Jain, Lluis Sanchez"
       url = "http://www.monodevelop.com"
       description = "Support for Debugging projects"
       copyright = "MIT X11"
       flags = "Hidden"
       version = "2.2">

	<Dependencies>
	    <Addin id="Core" version="2.2"/>
	    <Addin id="Core.Gui" version="2.2"/>
    	<Addin id="Projects" version="2.2"/>
		<Addin id="Projects.Gui" version="2.2"/>
		<Addin id="Ide" version="2.2"/>
		<Addin id="Components" version="2.2"/>
	</Dependencies>
	
	<ExtensionPoint path="/MonoDevelop/Debugging/DebuggerFactories">
		<Description>Debug session factories. Specified classes must implement Mono.Debugging.IDebuggerSessionFactory.</Description>
		<ExtensionNode name="DebuggerFactory" />
	</ExtensionPoint>
	
	<Extension path = "/MonoDevelop/Ide/Pads">
		<Category id="Debug" _name="Debug Windows">
			<Pad id = "MonoDevelop.Debugger.WatchPad" defaultPlacement = "Bottom" icon="md-view-debug-watch" class = "MonoDevelop.Debugger.WatchPad" _label="Watch" />
			<Pad id = "MonoDevelop.Debugger.LocalsPad" defaultPlacement = "Bottom" icon="md-view-debug-locals" class = "MonoDevelop.Debugger.LocalsPad" _label="Locals" />
			<Pad id = "MonoDevelop.Debugger.StackTracePad" defaultPlacement = "Bottom" icon="md-view-debug-call-stack" class = "MonoDevelop.Debugger.StackTracePad" _label="Call Stack" />
			<Pad id = "MonoDevelop.Debugger.BreakpointPad" defaultPlacement = "Bottom" icon="md-view-debug-breakpoints" class = "MonoDevelop.Debugger.BreakpointPad" _label="Breakpoints" />
			<Pad id = "MonoDevelop.Debugger.ThreadsPad" defaultPlacement = "Bottom" icon="md-view-debug-threads" class = "MonoDevelop.Debugger.ThreadsPad" _label="Threads" />
			<Pad id = "MonoDevelop.Debugger.ImmediatePad" defaultPlacement = "Bottom" class = "MonoDevelop.Debugger.ImmediatePad" _label="Immediate" />
		</Category>
	</Extension>
	
	<Extension path = "/MonoDevelop/Ide/WorkbenchContexts/Edit">
		<ContextPad id = "MonoDevelop.Debugger.WatchPad" />
		<ContextPad id = "MonoDevelop.Debugger.LocalsPad" />
		<ContextPad id = "MonoDevelop.Debugger.StackTracePad" />
		<ContextPad id = "MonoDevelop.Debugger.BreakpointPad" />
		<ContextPad id = "MonoDevelop.Debugger.ThreadsPad" />
		<ContextPad id = "MonoDevelop.Debugger.ImmediatePad" />
	</Extension>

	<Extension path = "/MonoDevelop/Ide/StartupHandlers">
		<Class class="MonoDevelop.Debugger.Initializer" />
	</Extension>
	
	<Extension path = "/MonoDevelop/Ide/Commands/Project">
		<Command id = "MonoDevelop.Debugger.DebugCommands.Debug"
				defaultHandler = "MonoDevelop.Debugger.DebugHandler"
				icon = "md-execute-debug"
				shortcut = "F5"
				macShortcut = "Meta|Return"
				_description = "Debug"
				_label = "_Debug" />
		<Command id = "MonoDevelop.Debugger.DebugCommands.DebugEntry"
				defaultHandler = "MonoDevelop.Debugger.DebugEntryHandler"
				icon = "md-execute-debug"
				_description = "Debug current project"
				_label = "D_ebug Item" />
	</Extension>
	
	<Extension path = "/MonoDevelop/Ide/Commands">
		<Category _name = "Debug" id = "Debug">
		
		<Command id = "MonoDevelop.Debugger.DebugCommands.DebugApplication"
				defaultHandler = "MonoDevelop.Debugger.DebugApplicationHandler"
				_label = "Debug Application..." />
		<Command id = "MonoDevelop.Debugger.DebugCommands.AttachToProcess"
				defaultHandler = "MonoDevelop.Debugger.AttachToProcessHandler"
				_label = "Attach to Process..." />
		<Command id = "MonoDevelop.Debugger.DebugCommands.Detach"
				defaultHandler = "MonoDevelop.Debugger.DetachFromProcessHandler"
				_label = "Detach" />
		<Command id = "MonoDevelop.Debugger.DebugCommands.Pause"
				defaultHandler = "MonoDevelop.Debugger.PauseDebugHandler"
				shortcut = "Control|Break"
				_label = "Pause"
				_description = "Break Execution"
				macShortcut = "Alt|Meta|P"
				icon="gtk-media-pause"/>
		<Command id = "MonoDevelop.Debugger.DebugCommands.StepOver"
				defaultHandler = "MonoDevelop.Debugger.StepOverHandler"
				_label = "Step Over"
				_description = "Step Over"
				shortcut = "F10" 
				macShortcut = "Shift|Meta|O"
				icon="md-step-over-debug"/>
		<Command id = "MonoDevelop.Debugger.DebugCommands.StepInto"
				defaultHandler = "MonoDevelop.Debugger.StepIntoHandler"
				_label = "Step Into"
				_description = "Step Into"
				shortcut = "F11" 
				macShortcut = "Shift|Meta|I"
				icon="md-step-into-debug" />
		<Command id = "MonoDevelop.Debugger.DebugCommands.StepOut"
				defaultHandler = "MonoDevelop.Debugger.StepOutHandler"
				_label = "Step Out"
				_description = "Step Out"
				shortcut = "Shift|F11" 
				macShortcut = "Shift|Meta|T"
				icon="md-step-out-debug"/>
		<Command id = "MonoDevelop.Debugger.DebugCommands.NewBreakpoint"
				defaultHandler = "MonoDevelop.Debugger.NewBreakpointHandler"
				_label = "New Breakpoint..."
				icon = "md-breakpoint-new" />
		<Command id = "MonoDevelop.Debugger.DebugCommands.RemoveBreakpoint"
				defaultHandler = "MonoDevelop.Debugger.RemoveBreakpointHandler"
				_label = "Remove Breakpoint" />
		<Command id = "MonoDevelop.Debugger.DebugCommands.ShowBreakpointProperties"
				defaultHandler = "MonoDevelop.Debugger.ShowBreakpointPropertiesHandler"
				_label = "Breakpoint Properties" />
		<Command id = "MonoDevelop.Debugger.DebugCommands.ToggleBreakpoint"
				_label = "Toggle Breakpoint"
				icon = "md-breakpoint"
				defaultHandler = "MonoDevelop.Debugger.ToggleBreakpointHandler"
				shortcut = "F9"
				macShortcut = "Meta|\" />
		<Command id = "MonoDevelop.Debugger.DebugCommands.AddTracepoint"
				_label = "Add Tracepoint"
				defaultHandler = "MonoDevelop.Debugger.AddTracepointHandler"
				shortcut = "Control|Shift|F9" />
		<Command id = "MonoDevelop.Debugger.DebugCommands.EnableDisableBreakpoint"
				_label = "Enable/Disable Breakpoint"
				defaultHandler = "MonoDevelop.Debugger.EnableDisableBreakpointHandler"
				icon = "md-breakpoint-on-off"
				shortcut = "Control|F9"
				macShortcut = "Alt|Meta|/" />
		<Command id = "MonoDevelop.Debugger.DebugCommands.DisableAllBreakpoints"
				_label = "Disable All Breakpoints"
				icon = "md-breakpoint-disable-all"
				defaultHandler = "MonoDevelop.Debugger.DisableAllBreakpointsHandler" />
		<Command id = "MonoDevelop.Debugger.DebugCommands.ClearAllBreakpoints"
				defaultHandler = "MonoDevelop.Debugger.ClearAllBreakpointsHandler"
				icon = "md-breakpoint-remove-all"
				_label = "Clear All Breakpoints" />
		<Command id = "MonoDevelop.Debugger.DebugCommands.ShowDisassembly"
				_label = "Show Disassembly"
				defaultHandler = "MonoDevelop.Debugger.ShowDisassemblyHandler" />
		<Command id = "MonoDevelop.Debugger.DebugCommands.ExpressionEvaluator"
				_label = "Expression Evaluator"
				shortcut = "Shift|F9"
				defaultHandler = "MonoDevelop.Debugger.ExpressionEvaluatorCommand" />
		<Command id = "MonoDevelop.Debugger.DebugCommands.SelectExceptions"
				_label = "Exceptions..."
				defaultHandler = "MonoDevelop.Debugger.SelectExceptionsCommand" />
		<Command id = "MonoDevelop.Debugger.DebugCommands.ShowCurrentExecutionLine"
				_label = "Show Current Execution Line"
				shortcut = "Alt|*"
				defaultHandler = "MonoDevelop.Debugger.ShowCurrentExecutionLineCommand" />
		</Category>
	</Extension>
	
	<Extension path = "/MonoDevelop/Ide/MainMenu/View">
		<CommandItem id = "MonoDevelop.Debugger.DebugCommands.ShowDisassembly" insertafter="MonoDevelop.Ide.Commands.ViewCommands.ViewList"/>
	</Extension>
	
	<Extension path = "/MonoDevelop/Ide/MainMenu/Run">
		<CommandItem id = "MonoDevelop.Debugger.DebugCommands.Debug" insertafter="MonoDevelop.Ide.Commands.ProjectCommands.Run"/>
		<CommandItem id = "MonoDevelop.Debugger.DebugCommands.Pause" insertafter="MonoDevelop.Ide.Commands.ProjectCommands.Stop"/>
		<SeparatorItem id = "MonoDevelop.Debugger.ExternalDebuggingSection" />
		<CommandItem id = "MonoDevelop.Debugger.DebugCommands.DebugApplication" />
		<CommandItem id = "MonoDevelop.Debugger.DebugCommands.AttachToProcess" />
		<CommandItem id = "MonoDevelop.Debugger.DebugCommands.Detach" />
		<SeparatorItem id = "MonoDevelop.Debugger.SteppingSection" />
		<CommandItem id = "MonoDevelop.Debugger.DebugCommands.StepOver" />
		<CommandItem id = "MonoDevelop.Debugger.DebugCommands.StepInto" />
		<CommandItem id = "MonoDevelop.Debugger.DebugCommands.StepOut" />
		<CommandItem id = "MonoDevelop.Debugger.DebugCommands.ShowCurrentExecutionLine" />
		<SeparatorItem id = "MonoDevelop.Debugger.BreakpointsSection" />
		<CommandItem id = "MonoDevelop.Debugger.DebugCommands.ToggleBreakpoint" />
		<CommandItem id = "MonoDevelop.Debugger.DebugCommands.AddTracepoint" />
		<CommandItem id = "MonoDevelop.Debugger.DebugCommands.EnableDisableBreakpoint" />
		<CommandItem id = "MonoDevelop.Debugger.DebugCommands.DisableAllBreakpoints" />
		<CommandItem id = "MonoDevelop.Debugger.DebugCommands.ClearAllBreakpoints" />
		<CommandItem id = "MonoDevelop.Debugger.DebugCommands.SelectExceptions" />
		<SeparatorItem id = "MonoDevelop.Debugger.ToolsSection" />
		<CommandItem id = "MonoDevelop.Debugger.DebugCommands.ExpressionEvaluator" />
	</Extension>
	
	<Extension path = "/MonoDevelop/Ide/Toolbar/Build">
		<CommandItem id = "MonoDevelop.Debugger.DebugCommands.Debug" insertafter="MonoDevelop.Ide.Commands.ProjectCommands.Run"/>
	</Extension>
	
	<Extension path = "/MonoDevelop/Ide/ContextMenu/ProjectPad">
		<Condition id="ItemType" value="IBuildTarget">
			<CommandItem id = "MonoDevelop.Debugger.DebugCommands.DebugEntry" insertafter="MonoDevelop.Ide.Commands.ProjectCommands.RunEntry" />
		</Condition>
	</Extension>
	
	<Extension path = "/MonoDevelop/Core/ExecutionModes">
		<ModeSetType class="MonoDevelop.Debugger.DebugExecutionModeSet"/>
	</Extension>
	
	<Extension path = "/MonoDevelop/Core/StockIcons">
		<StockIcon stockid = "md-execute-debug" icon = "gtk-execute|res:debug-overlay-16.png" size = "Menu"/>
		<StockIcon stockid = "md-execute-debug" icon = "gtk-execute|res:debug-overlay-22.png" size = "Button"/>
		<StockIcon stockid = "md-execute-debug" icon = "gtk-execute|res:debug-overlay-22.png" size = "Dnd"/>
		<StockIcon stockid = "md-execute-debug" icon = "gtk-execute|res:debug-overlay-22.png" size = "SmallToolbar"/>
		<StockIcon stockid = "md-execute-debug" icon = "gtk-execute|res:debug-overlay-32.png" size = "LargeToolbar"/>
		<StockIcon stockid = "md-step-into-debug" resource = "step-into-16.png" size = "Menu"/>
		<StockIcon stockid = "md-step-into-debug" resource = "step-into-22.png" size="Button"/>
		<StockIcon stockid = "md-step-into-debug" resource = "step-into-24.png" />
		<StockIcon stockid = "md-step-out-debug" resource = "step-out-16.png" size = "Menu"/>
		<StockIcon stockid = "md-step-out-debug" resource = "step-out-22.png" size="Button"/>
		<StockIcon stockid = "md-step-out-debug" resource = "step-out-24.png" />
		<StockIcon stockid = "md-step-over-debug" resource = "step-over-16.png" size = "Menu"/>
		<StockIcon stockid = "md-step-over-debug" resource = "step-over-22.png" size="Button" />
		<StockIcon stockid = "md-step-over-debug" resource = "step-over-24.png" />
		<StockIcon stockid = "md-view-debug-breakpoints" resource = "view-debug-breakpoints-16.png" size="Menu" />
		<StockIcon stockid = "md-view-debug-call-stack" resource = "view-debug-call-stack-16.png" size="Menu" />
		<StockIcon stockid = "md-view-debug-locals" resource = "view-debug-locals-16.png" size="Menu" />
		<StockIcon stockid = "md-view-debug-threads" resource = "view-debug-threads-16.png" size="Menu" />
		<StockIcon stockid = "md-view-debug-watch" resource = "view-debug-watch-16.png" size="Menu" />
	</Extension>
	
	<Extension path = "/MonoDevelop/Ide/Toolbar">
		<ItemSet id = "Debugger" _label = "Debugger">
			<CommandItem id = "MonoDevelop.Debugger.DebugCommands.StepOver" />
			<CommandItem id = "MonoDevelop.Debugger.DebugCommands.StepInto" />
			<CommandItem id = "MonoDevelop.Debugger.DebugCommands.StepOut" />	
			<CommandItem id = "MonoDevelop.Debugger.DebugCommands.Pause" />						
		</ItemSet>
	</Extension>
	
	<Extension path = "/MonoDevelop/Ide/GlobalOptionsDialog/Preferences">
		<Section id = "Debugger" _label = "Debugger" icon="md-execute-debug" fill="true" class = "MonoDevelop.Debugger.DebuggerOptionsPanel" />
	</Extension>
</Addin>