Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to generate Custom Debugger Visualizer for 3rd Party assemblies? #25

Closed
JeremyThomas opened this issue Jun 9, 2015 · 5 comments

Comments

@JeremyThomas
Copy link

I see you create DotNetDynamicVisualizerType.V12.0.dll for the BCL but what about other referenced assemblies?

@codingadventures
Copy link
Owner

Unfortunately there is no way to create custom debugger visualizers for 3rd party assemblies at the moment. It's something I could add as a new functionality. Although there could be problems for signed or obfuscated assemblies (if there are any). For this reason I map only types of the BCL whose are Serializable only as the assemblies containing the types (mscorlib etc) are all signed.

@JeremyThomas
Copy link
Author

Would be good if you could add that ability, perhaps in the same dialog for generating visualizers for referenced projects.
From what I see you map non-Serializable types as well, or have I got that wrong?

@codingadventures
Copy link
Owner

yeah it would, I will consider that for my next release. I think it will be handy.

I map non-Serializable type indeed, but since I need to inject the serializable attribute in every library (otherwise the binary-formatter won't work) I have to open-save, at compile time, all the assemblies and referenced libraries.

In case of signed assemblies, which is the case of Microsoft's assemblies, I have to un-sign or re-sign them if the key is available. I just don't un-sign MS Assemblies to avoid changing any existing ms software.

@codingadventures
Copy link
Owner

this is going to be a big one, but worth a try.

codingadventures added a commit that referenced this issue Oct 14, 2018
Adds support to generate visualiser assembly for 3rd party assemblies
fixes bugs with thread abort exception
upgrades system abstractions
fixes unit tests and add new ones
code cleanup
moves crawler into shared - probably to be removed
codingadventures added a commit that referenced this issue Oct 15, 2018
adds logic to create custom debugger visualizers for 3rd party assembly referenced in a project
@codingadventures
Copy link
Owner

Available in the next release

codingadventures added a commit that referenced this issue Oct 15, 2018
3rd party visualizers are created only if don't exist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants