Runtime Debugger problem

Post » Wed Mar 30, 2011 12:53 pm

I'm using the "Runtime Debugger" OBSE plugin to simplify finding errors in my script. Problem is, it isn't working right. When I load my game, I get the mouse cursor, but no debug window. The readme doesn't help one bit. Any ideas?
User avatar
Jeff Tingler
 
Posts: 3609
Joined: Sat Oct 13, 2007 7:55 pm

Post » Wed Mar 30, 2011 1:34 am

Alright, I gave it more time this go around. I get this error:

Spoiler
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentOutOfRangeException: InvalidArgument=Value of '0' is not valid for 'index'.
Parameter name: index
at System.Windows.Forms.ListView.SelectedListViewItemCollection.get_Item(Int32 index)
at DebuggerBase.CallStackList_ItemActivate(Object Sender, EventArgs E)
at System.Windows.Forms.ListView.OnItemActivate(EventArgs e)
at System.Windows.Forms.ListView.WmReflectNotify(Message& m)
at System.Windows.Forms.ListView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5444 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Debugger
Assembly Version: 0.0.0.0
Win32 Version: 1, 0, 0, 0
CodeBase: file:///C:/Games/Bethesda%20Softworks/Oblivion/Data/OBSE/Plugins/ComponentDLLs/RUDE/Debugger.dll
----------------------------------------
msvcm90
Assembly Version: 9.0.30729.5570
Win32 Version: 9.00.30729.5570
CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.5570_none_509463cabcb6ef2a/msvcm90.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:





When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


There are some problems. I had to ALT-TAB to see the error message. And Oblivion doesn't like ATL-TAB'ing. So, it could be that the UI loaded, but the Oblivion interface won't maximize after ALT-TAB.
User avatar
Sebrina Johnstone
 
Posts: 3456
Joined: Sat Jun 24, 2006 12:58 pm

Post » Wed Mar 30, 2011 3:39 am

This is the debugger log file:

RuntimeDebugger Initializing...RuntimeDebugger Initialized![0ccc]		 Hit DebugBreak command...[0000]		 Execution of script 'Script b7000ed3 ~ T[1] ; V[33] ; R[1]' completed with result 0

User avatar
sam smith
 
Posts: 3386
Joined: Sun Aug 05, 2007 3:55 am

Post » Wed Mar 30, 2011 8:10 am

This is the relevant OBSE log:

checking plugin C:\Games\Bethesda Softworks\Oblivion\Data\OBSE\Plugins\\RuntimeDebugger.dllSetOpcodeBase 00002710RegisterCommand DebugBreak (2710)RegisterCommand ToggleDebugBreaking (2711)plugin C:\Games\Bethesda Softworks\Oblivion\Data\OBSE\Plugins\\RuntimeDebugger.dll (00000002 RUDE 00000001) loaded correctly


Seems to be registering okay. I tried running the game with all OBSE plugins removed, but that didn't help. I'm on W7, so I have .NET Framework preinstalled. What could be the problem?

I've tried countless times, and only encountered the error posted above the one time. Other than that, when I load Oblivion, all I get is a freeze, and the mouse cursor appears and I can move it around. But when I click the mouse, I get the Windows error sound (I think it's the error sound - One of those Windows sounds).
User avatar
Ronald
 
Posts: 3319
Joined: Sun Aug 05, 2007 12:16 am

Post » Wed Mar 30, 2011 12:31 pm

Does anyone use this plugin? If so, does it work for you? I'm getting tired of console messages.
User avatar
Alexandra Ryan
 
Posts: 3438
Joined: Mon Jul 31, 2006 9:01 am

Post » Wed Mar 30, 2011 5:46 am

Bump for a new day, and hopefully shadeMe.
User avatar
Miranda Taylor
 
Posts: 3406
Joined: Sat Feb 24, 2007 3:39 pm

Post » Wed Mar 30, 2011 1:59 am

Run the game in windowed mode (there ought to be an INI setting).

In the future, please use the official thread for support/troubleshooting.
User avatar
El Goose
 
Posts: 3368
Joined: Sun Dec 02, 2007 12:02 am

Post » Wed Mar 30, 2011 6:53 am

Windowed mode. Didn't think of that. Thanks.

And in the future I will use the official thread. Sorry, but I wanted a response.
User avatar
Karen anwyn Green
 
Posts: 3448
Joined: Thu Jun 15, 2006 4:26 pm

Post » Wed Mar 30, 2011 1:13 am

And in the future I will use the official thread. Sorry, but I wanted a response.
As does everyone else with an issue :shrug: In fact, I'd have answered your question quicker if you had.
User avatar
JR Cash
 
Posts: 3441
Joined: Tue Oct 02, 2007 12:59 pm

Post » Wed Mar 30, 2011 7:21 am

I understand. Like I said: sorry. It won't happen again.

No need to get testy...
User avatar
Jennie Skeletons
 
Posts: 3452
Joined: Wed Jun 21, 2006 8:21 am


Return to IV - Oblivion