Skip to content

Managed .NET filename:line resolver from PDB files

License

Notifications You must be signed in to change notification settings

BrokenEvent/BrokenEvent.PDBReader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fork from github.com/Microsoft/cci

BrokenEvent.PDBReader

About This Fork

The goal is creation of a convenient interface for PDB reading and filename:line resolving. Microsoft.cci.pdb supports it, but the features are hidden with strange interface and partially commented. Now almost whole Microsoft code is cut of the build as it is not related to the this functionality.

Features

  • Simple and lightweight
  • Filename:line resolve by classname and the method name
  • More precise filename:line resolve if IL offset provided (can be found in StackFrame.GetILOffset())

Usage

  • Attach BrokenEvent.PDBReader assembly to project
  • Use namespace BrokenEvent.PDBReader assembly
  • Create PdbResolver using stream or filename constructor
  • Resolve required code location with pdbResolver.FindLocation("MyNamespace.MyClass", "MyMethod"/*, optional IL offset*/)

License

Whole project is published with under MIT license.

Core of cci.pdb: © Microsoft. See Microsoft.Cci.License.txt

Cut of and simplification: ©2017, BrokenEvent.

About

Managed .NET filename:line resolver from PDB files

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%