Stepping into Paint.NET's code/detailed log?
Posted 31 July 2012 - 12:28 AM
I'm in the process of updating a filetype plugin that uses a external library for some data decoding. In the old version the library was just a C# wrapper over a native DLL, but I'm trying to change it to a C++/CLI wrapper of the static version of the library and get rid of the extra dependency. The problem is that as soon as I try to open a sample file and Paint.NET starts loading the filetype DLL, it shows a "The file could not be found" error message box.
The GetFileTypeInstances() method and filetype constructor execute without a problem, but there's some code between that and OnLoad that can't be stepped into. So, is there any way to know what it's trying to load and why?
Posted 31 July 2012 - 12:37 AM
But in general, no. You can't step through Paint.NET code. You can use Reflector to get a better view of it though. And actually I think they have a VS plugin that helps with debugging, so maybe that first sentence isn't accurate.
Donations are always appreciated! http://www.getpaint.net/donate.html
Posted 31 July 2012 - 10:44 PM
Edited by r2d2rigo, 31 July 2012 - 10:44 PM.