-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Renaming everything to SharpDebug (#40)
Renaming all projects and moving them into new folders. Increasing version to 2.0 Renaming namespace to SharpDebug. Using SharpDebug_dumps. Changing license to MIT.
- Loading branch information
1 parent
1651f54
commit f0122e6
Showing
632 changed files
with
1,269 additions
and
1,527 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[submodule "dumps/Source"] | ||
path = dumps/Source | ||
url = https://github.com/southpolenator/WinDbgCs_dumps/ | ||
url = https://github.com/southpolenator/SharpDebug_dumps/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,35 @@ | ||
## Creating a new project that uses debugger engine | ||
* Create a new .NET project (you can use Console Application) | ||
* Add NuGet package CsDebugScript | ||
* Add NuGet package SharpDebug | ||
* Add initialization code: | ||
```cs | ||
using CsDebugScript; | ||
using SharpDebug; | ||
|
||
DebuggerInitialization.OpenDumpFile("path_to_dump_file", "symbol_path;srv*"); | ||
// After this line, you can execute any code that can be executed in the script | ||
``` | ||
|
||
## Creating a new project that uses scripting and UI | ||
* Create a new .NET project (you can use Console Application) | ||
* Add NuGet package CsDebugScript | ||
* Add NuGet package CsDebugScript.UI | ||
* Add NuGet package SharpDebug | ||
* Add NuGet package SharpDebug.UI | ||
* Add initialization code: | ||
```cs | ||
CsDebugScript.DebuggerInitialization.OpenDumpFile("path_to_dump_file", "symbol_path;srv*"); | ||
CsDebugScript.UI.InteractiveWindow.ShowModalWindow(); | ||
SharpDebug.DebuggerInitialization.OpenDumpFile("path_to_dump_file", "symbol_path;srv*"); | ||
SharpDebug.UI.InteractiveWindow.ShowModalWindow(); | ||
``` | ||
Instead of opening interactive window, you can execute scripts: | ||
```cs | ||
CsDebugScript.ScriptExecution.Execute("path_to_script"); | ||
SharpDebug.ScriptExecution.Execute("path_to_script"); | ||
``` | ||
Or execute interactive commands with | ||
```cs | ||
var interactiveExecution = new CsDebugScript.InteractiveExecution(); | ||
var interactiveExecution = new SharpDebug.InteractiveExecution(); | ||
interactiveExecution.Interpret("<C# code>"); | ||
``` | ||
|
||
## Sample project | ||
Please take a look at [CsDebugScript.Engine.Test](../Tests/CsDebugScript.Engine.Test/Program.cs). It shows how to: | ||
Please take a look at [SharpDebug.Engine.Test](../Tests/SharpDebug.Engine.Test/Program.cs). It shows how to: | ||
* Open a dump | ||
* Execute some C# code against it | ||
* Execute C# script |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.