-
Notifications
You must be signed in to change notification settings - Fork 1
Debugging
Greg G edited this page Jan 15, 2017
·
2 revisions
If you'd like to debug methods when they're ran by Blur, add a Debug
attribute on said method, and compile your assembly.
Right now, the produced PDB cannot be edited by Blur, which makes debugging methods marked with the Debug
attribute impossible. Instead, add the following code to your method:
if (Debugger.IsAttached)
Debugger.Break();
else
Debugger.Launch();
Debugger
's full name is System.Diagnostics.Debugger
.