PDA

View Full Version : Step Trough



TypQxQ
2004-04-11, 11:18 PM
Sub, is there any way to step trough the pkugin? I'm going mad with this errors...

/Q

CodeMonkey
2004-04-12, 12:02 AM
I haven't had any luck getting into my plugin with the debugger either.

sub
2004-04-12, 02:08 AM
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.

sub
2004-04-12, 02:22 AM
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.

CodeMonkey
2004-04-12, 02:39 AM
Sweet, thanks.

TypQxQ
2004-04-12, 08:07 AM
Gr8!!!!

Do you have any idea when next release will come?

/Q

sub
2004-04-12, 06:46 PM
It'll be a few more days. Probably the weekend. I've been distracted with other things like the website etc.