Browse Source
Added ChainIndex and FrameIndex to the StackFrame class git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3222 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61shortcuts
36 changed files with 413 additions and 344 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,90 +0,0 @@ |
|||||||
// <file>
|
|
||||||
// <copyright see="prj:///doc/copyright.txt"/>
|
|
||||||
// <license see="prj:///doc/license.txt"/>
|
|
||||||
// <owner name="David Srbecký" email="dsrbecky@gmail.com"/>
|
|
||||||
// <version>$Revision$</version>
|
|
||||||
// </file>
|
|
||||||
|
|
||||||
using System; |
|
||||||
|
|
||||||
namespace Debugger |
|
||||||
{ |
|
||||||
public partial class NDebugger |
|
||||||
{ |
|
||||||
bool justMyCodeEnabled = true; |
|
||||||
bool obeyDebuggerAttributes = true; |
|
||||||
bool skipProperties = true; |
|
||||||
bool skipOnlySingleLineProperties = true; |
|
||||||
bool verbose = false; |
|
||||||
string[] symbolsSearchPaths; |
|
||||||
|
|
||||||
void ResetJustMyCodeInModules() |
|
||||||
{ |
|
||||||
foreach(Process process in this.Processes) { |
|
||||||
foreach(Module module in process.Modules) { |
|
||||||
module.SetJustMyCodeStatus(); |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
public bool JustMyCodeEnabled { |
|
||||||
get { return justMyCodeEnabled; } |
|
||||||
set { |
|
||||||
if (justMyCodeEnabled != value) { |
|
||||||
justMyCodeEnabled = value; |
|
||||||
ResetJustMyCodeInModules(); |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
public bool ObeyDebuggerAttributes { |
|
||||||
get { return obeyDebuggerAttributes; } |
|
||||||
set { |
|
||||||
if (obeyDebuggerAttributes != value) { |
|
||||||
obeyDebuggerAttributes = value; |
|
||||||
ResetJustMyCodeInModules(); |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
public bool SkipProperties { |
|
||||||
get { return skipProperties; } |
|
||||||
set { |
|
||||||
if (skipProperties != value) { |
|
||||||
skipProperties = value; |
|
||||||
ResetJustMyCodeInModules(); |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
public bool SkipOnlySingleLineProperties { |
|
||||||
get { return skipOnlySingleLineProperties; } |
|
||||||
set { |
|
||||||
if (skipOnlySingleLineProperties != value) { |
|
||||||
skipOnlySingleLineProperties = value; |
|
||||||
ResetJustMyCodeInModules(); |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
public string[] SymbolsSearchPaths { |
|
||||||
get { return symbolsSearchPaths; } |
|
||||||
set { |
|
||||||
if (symbolsSearchPaths != value) { |
|
||||||
symbolsSearchPaths = value; |
|
||||||
foreach(Process process in this.Processes) { |
|
||||||
foreach(Module module in process.Modules) { |
|
||||||
// Try to load the symbols
|
|
||||||
module.LoadSymbols(symbolsSearchPaths); |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
public bool Verbose { |
|
||||||
get { return verbose; } |
|
||||||
set { verbose = value; } |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
@ -0,0 +1,62 @@ |
|||||||
|
// <file>
|
||||||
|
// <copyright see="prj:///doc/copyright.txt"/>
|
||||||
|
// <license see="prj:///doc/license.txt"/>
|
||||||
|
// <owner name="David Srbecký" email="dsrbecky@gmail.com"/>
|
||||||
|
// <version>$Revision$</version>
|
||||||
|
// </file>
|
||||||
|
using System; |
||||||
|
|
||||||
|
namespace Debugger |
||||||
|
{ |
||||||
|
public class Options |
||||||
|
{ |
||||||
|
bool enableJustMyCode = true; |
||||||
|
bool stepOverNoSymbols = true; |
||||||
|
bool stepOverDebuggerAttributes = true; |
||||||
|
bool stepOverAllProperties = false; |
||||||
|
bool stepOverSingleLineProperties = false; |
||||||
|
bool stepOverFieldAccessProperties = true; |
||||||
|
bool verbose = false; |
||||||
|
string[] symbolsSearchPaths = new string[0]; |
||||||
|
|
||||||
|
public bool EnableJustMyCode { |
||||||
|
get { return enableJustMyCode; } |
||||||
|
set { enableJustMyCode = value; } |
||||||
|
} |
||||||
|
|
||||||
|
public bool StepOverNoSymbols { |
||||||
|
get { return stepOverNoSymbols; } |
||||||
|
set { stepOverNoSymbols = value; } |
||||||
|
} |
||||||
|
|
||||||
|
public bool StepOverDebuggerAttributes { |
||||||
|
get { return stepOverDebuggerAttributes; } |
||||||
|
set { stepOverDebuggerAttributes = value; } |
||||||
|
} |
||||||
|
|
||||||
|
public bool StepOverAllProperties { |
||||||
|
get { return stepOverAllProperties; } |
||||||
|
set { stepOverAllProperties = value; } |
||||||
|
} |
||||||
|
|
||||||
|
public bool StepOverSingleLineProperties { |
||||||
|
get { return stepOverSingleLineProperties; } |
||||||
|
set { stepOverSingleLineProperties = value; } |
||||||
|
} |
||||||
|
|
||||||
|
public bool StepOverFieldAccessProperties { |
||||||
|
get { return stepOverFieldAccessProperties; } |
||||||
|
set { stepOverFieldAccessProperties = value; } |
||||||
|
} |
||||||
|
|
||||||
|
public bool Verbose { |
||||||
|
get { return verbose; } |
||||||
|
set { verbose = value; } |
||||||
|
} |
||||||
|
|
||||||
|
public string[] SymbolsSearchPaths { |
||||||
|
get { return symbolsSearchPaths; } |
||||||
|
set { symbolsSearchPaths = value; } |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
Binary file not shown.
Loading…
Reference in new issue