jgreene / slimtune

Automatically exported from code.google.com/p/slimtune
MIT License
0 stars 0 forks source link

Query Debugger throws unhandled exception #58

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Profile a .NET application (or at least the one I was using)
2. Open the Query Debugger

What is the expected output? What do you see instead?

Expected: query debugger appears
Actual: Unhandled Exception dialog

What version of the product are you using? On what operating system?

Version: 0.3.0
OS: Windows 7 Home Premium (64-bit)

Please provide any additional information below.

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

************** Exception Text **************
System.Reflection.TargetInvocationException: Exception has been thrown by the 
target of an invocation. ---> System.ComponentModel.Win32Exception: %1 is not a 
valid Win32 application
   at ScintillaNet.Scintilla.get_CreateParams() in D:\ScintillaNET\Branches\2.0\ScintillaNET\Scintilla.cs:line 433
   at System.Windows.Forms.Control..ctor(Boolean autoInstallSyncContext)
   at System.Windows.Forms.Control..ctor()
   at ScintillaNet.Scintilla..ctor() in D:\ScintillaNET\Branches\2.0\ScintillaNET\Scintilla.cs:line 59
   at SlimTuneUI.CoreVis.QueryDebugger.InitializeComponent() in D:\Promit\Documents\Projects\SlimTune\trunk\CoreVis\QueryDebugger.Designer.cs:line 35
   at SlimTuneUI.CoreVis.QueryDebugger..ctor() in D:\Promit\Documents\Projects\SlimTune\trunk\CoreVis\QueryDebugger.cs:line 21
   --- End of inner exception stack trace ---
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
   at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at SlimTuneUI.ProfilerWindow.AddVisualizer(Type visType) in D:\Promit\Documents\Projects\SlimTune\trunk\SlimTuneUI\ProfilerWindow.cs:line 171
   at SlimTuneUI.ProfilerWindow.m_openVisualizerButton_Click(Object sender, EventArgs e) in D:\Promit\Documents\Projects\SlimTune\trunk\SlimTuneUI\ProfilerWindow.cs:line 163
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.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.5448 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
SlimTuneUI
    Assembly Version: 0.3.0.0
    Win32 Version: 0.3.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/SlimTune%20Profiler/SlimTuneUI.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5446 (Win7SP1GDR.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.5453 (Win7SP1GDR.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
----------------------------------------
UICore
    Assembly Version: 0.3.0.0
    Win32 Version: 0.3.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/SlimTune%20Profiler/UICore.DLL
----------------------------------------
CoreVis
    Assembly Version: 0.3.0.0
    Win32 Version: 0.3.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/SlimTune%20Profiler/Plugins/CoreVis.dll
----------------------------------------
ScintillaNet
    Assembly Version: 2.2.3581.19319
    Win32 Version: 2.2.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/SlimTune%20Profiler/Plugins/ScintillaNet.dll
----------------------------------------
ZedGraph
    Assembly Version: 5.1.5.28844
    Win32 Version: 5.1.5.28844
    CodeBase: file:///C:/Program%20Files%20(x86)/SlimTune%20Profiler/Plugins/ZedGraph.dll
----------------------------------------
Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Data
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
NHibernate
    Assembly Version: 2.1.2.4000
    Win32 Version: 2.1.2.4000
    CodeBase: file:///C:/Program%20Files%20(x86)/SlimTune%20Profiler/NHibernate.DLL
----------------------------------------
FluentNHibernate
    Assembly Version: 1.1.0.685
    Win32 Version: 1.1.0.685
    CodeBase: file:///C:/Program%20Files%20(x86)/SlimTune%20Profiler/FluentNHibernate.DLL
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Design
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
Iesi.Collections
    Assembly Version: 1.0.1.0
    Win32 Version: 2.1.2.4000
    CodeBase: file:///C:/Program%20Files%20(x86)/SlimTune%20Profiler/Iesi.Collections.DLL
----------------------------------------
Antlr3.Runtime
    Assembly Version: 3.1.0.39271
    Win32 Version: 3.1.0.39271
    CodeBase: file:///C:/Program%20Files%20(x86)/SlimTune%20Profiler/Antlr3.Runtime.DLL
----------------------------------------
System.Transactions
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Data.SQLite
    Assembly Version: 1.0.66.0
    Win32 Version: 1.0.66.0
    CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data.SQLite/1.0.66.0__db937bc2d44ff139/System.Data.SQLite.dll
----------------------------------------
System.EnterpriseServices
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
log4net
    Assembly Version: 1.2.10.0
    Win32 Version: 1.2.10.0
    CodeBase: file:///C:/Program%20Files%20(x86)/SlimTune%20Profiler/log4net.DLL
----------------------------------------
System.Core
    Assembly Version: 3.5.0.0
    Win32 Version: 3.5.30729.5420 built by: Win7SP1
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
gppqywtx
    Assembly Version: 2.1.2.4000
    Win32 Version: 2.0.50727.5453 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
xioolx7v
    Assembly Version: 2.1.2.4000
    Win32 Version: 2.0.50727.5453 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
NHibernate.ByteCode.Castle
    Assembly Version: 2.1.2.4000
    Win32 Version: 2.1.2.4000
    CodeBase: file:///C:/Program%20Files%20(x86)/SlimTune%20Profiler/NHibernate.ByteCode.Castle.DLL
----------------------------------------
Castle.DynamicProxy2
    Assembly Version: 2.1.0.0
    Win32 Version: 2.1.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/SlimTune%20Profiler/Castle.DynamicProxy2.DLL
----------------------------------------
Castle.Core
    Assembly Version: 1.1.0.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/SlimTune%20Profiler/Castle.Core.DLL
----------------------------------------
l16nwajm
    Assembly Version: 0.3.0.0
    Win32 Version: 2.0.50727.5453 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
DynamicProxyGenAssembly2
    Assembly Version: 0.0.0.0
    Win32 Version: 2.1.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/SlimTune%20Profiler/Castle.DynamicProxy2.dll
----------------------------------------
ISymWrapper
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_32/ISymWrapper/2.0.0.0__b03f5f7f11d50a3a/ISymWrapper.dll
----------------------------------------
Aga.Controls
    Assembly Version: 1.7.0.0
    Win32 Version: 1.7.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/SlimTune%20Profiler/Aga.Controls.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:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

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.

Original issue reported on code.google.com by edko...@gmail.com on 4 Apr 2012 at 4:11