View Full Version : Step Trough
2004-04-11, 10:18 PM
Sub, is there any way to step trough the pkugin? I'm going mad with this errors...
2004-04-11, 11:02 PM
I haven't had any luck getting into my plugin with the debugger either.
The .net framework is funny about loading assemblies (plugin .DLLs) from the other directories than the one the main executable is in. To get around this and allow the plugins to be dynamically loaded from the gbpvr\plugins directory, I'm loading the assemblies using byte stream. This does have the unfortunate side effect of disabling debugging.
To allow you to debug your plugins, I'll change to GB-PVR to load <install location>\debugplugin.dll in a way that will enable debugging. You'll have to use this .DLL name when doing you development, then change the name to something more descriptive when you are ready to release.
I had intended to have this in place for the first release to support plugins, but I was a little rushed with the daylight savings problem so decided to leave this until the next release.
Ignore my last answer, I found a way to dynamically load the .pdb file as well. Debugging will be possible in the next release, even with the DLL retaining its original name.
2004-04-12, 01:39 AM
2004-04-12, 07:07 AM
Do you have any idea when next release will come?
It'll be a few more days. Probably the weekend. I've been distracted with other things like the website etc.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.