OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 namespace NativeClientVSAddIn | 5 namespace NativeClientVSAddIn |
6 { | 6 { |
7 using System; | 7 using System; |
8 | 8 |
9 using EnvDTE; | 9 using EnvDTE; |
10 using EnvDTE80; | 10 using EnvDTE80; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 /// </summary> | 55 /// </summary> |
56 /// <param name="reason">The parameter is not used.</param> | 56 /// <param name="reason">The parameter is not used.</param> |
57 public void DebuggerOnEnterDesignMode(dbgEventReason reason) | 57 public void DebuggerOnEnterDesignMode(dbgEventReason reason) |
58 { | 58 { |
59 debuggerHelper_.StopDebugging(); | 59 debuggerHelper_.StopDebugging(); |
60 } | 60 } |
61 | 61 |
62 /// <summary> | 62 /// <summary> |
63 /// Called when Visual Studio starts a debugging session. | 63 /// Called when Visual Studio starts a debugging session. |
64 /// </summary> | 64 /// </summary> |
65 /// <param name="reason">The parameter is not used.</param> | 65 /// <param name="reason">Indicates how we are entering run mode (breakpoint
or launch).</param> |
66 public void DebuggerOnEnterRunMode(dbgEventReason reason) | 66 public void DebuggerOnEnterRunMode(dbgEventReason reason) |
67 { | 67 { |
68 // If we are starting debugging (not re-entering from a breakpoint) | 68 // If we are starting debugging (not re-entering from a breakpoint) |
69 // then load project settings and start the debugger-helper. | 69 // then load project settings and start the debugger-helper. |
70 if (reason == dbgEventReason.dbgEventReasonLaunchProgram && | 70 if (reason == dbgEventReason.dbgEventReasonLaunchProgram && |
71 debuggerHelper_.LoadProjectSettings()) | 71 debuggerHelper_.LoadProjectSettings()) |
72 { | 72 { |
73 debuggerHelper_.StartDebugging(); | 73 debuggerHelper_.StartDebugging(); |
74 } | 74 } |
75 } | 75 } |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 /// Implements the OnBeginShutdown method of the IDTExtensibility2 interface
. | 109 /// Implements the OnBeginShutdown method of the IDTExtensibility2 interface
. |
110 /// Receives notification that the host application is being unloaded. | 110 /// Receives notification that the host application is being unloaded. |
111 /// </summary> | 111 /// </summary> |
112 /// <param name='custom'>Array of parameters that are host application speci
fic.</param> | 112 /// <param name='custom'>Array of parameters that are host application speci
fic.</param> |
113 /// <seealso class='IDTExtensibility2' /> | 113 /// <seealso class='IDTExtensibility2' /> |
114 public void OnBeginShutdown(ref Array custom) | 114 public void OnBeginShutdown(ref Array custom) |
115 { | 115 { |
116 } | 116 } |
117 } | 117 } |
118 } | 118 } |
OLD | NEW |