When I click the stop run button, the messages window
goes through the thread listings and displays Profiling
completed. However, the Current state: still displays
Running and I am unable to get to any of the collected
statistics. I get a popup with 'The run has not
completed' if I click on the run. If I save, I get the
warning about not being able to load the data I'm
saving. If I continue on, I get an unhandled exception
where it cannot generate a temporary class.
************** Exception Text **************
System.InvalidOperationException: Unable to generate
a temporary class (result=1).
error CS1514: { expected
error CS1001: Identifier expected
error CS1031: Type expected
error CS1519: Invalid token '{' in class, struct, or
interface member declaration
error CS1514: { expected
error CS1001: Identifier expected
error CS1031: Type expected
error CS1519: Invalid token '{' in class, struct, or
interface member declaration
at System.Xml.Serialization.Compiler.Compile
(Assembly parent, String ns, CompilerParameters
parameters, Evidence evidence)
at
System.Xml.Serialization.TempAssembly.GenerateAsse
mbly(XmlMapping[] xmlMappings, Type[] types, String
defaultNamespace, Evidence evidence,
CompilerParameters parameters, Assembly assembly,
Hashtable assemblies)
at System.Xml.Serialization.TempAssembly..ctor
(XmlMapping[] xmlMappings, Type[] types, String
defaultNamespace, String location, Evidence evidence)
at
System.Xml.Serialization.XmlSerializer.GenerateTempA
ssembly(XmlMapping xmlMapping, Type type, String
defaultNamespace)
at System.Xml.Serialization.XmlSerializer..ctor(Type
type, String defaultNamespace)
at System.Xml.Serialization.XmlSerializer..ctor(Type
type)
at
NProf.Utilities.DataStore.SerializationHandler.set_Interna
lProjectsHistory(UsedFile[] value)
at
NProf.Utilities.DataStore.SerializationHandler.MakeRece
ntlyUsed(ProjectInfo project, String fileName)
at
NProf.Utilities.DataStore.SerializationHandler.SaveProje
ctInfo(ProjectInfo info, String fileName)
at NProf.GUI.ProfilerForm.SaveProject(ProjectInfo
project, Boolean forceSaveDialog)
at NProf.GUI.ProfilerForm._cmdFileSave_Click(Object
sender, EventArgs e)
at
Reflector.UserInterface.CommandBarControl.OnClick
(EventArgs e)
at
Reflector.UserInterface.CommandBarControl.PerformClic
k(EventArgs e)
at Reflector.UserInterface.CommandBar.PerformClick
(CommandBarItem item)
at Reflector.UserInterface.CommandBar.WndProc
(Message& message)
at
System.Windows.Forms.ControlNativeWindow.OnMess
age(Message& m)
at
System.Windows.Forms.ControlNativeWindow.WndProc
(Message& m)
at System.Windows.Forms.NativeWindow.Callback
(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/windows/microsoft.net/framework/v1.1.4322/msc
orlib.dll
----------------------------------------
NProf.Application
Assembly Version: 1.0.1737.16175
Win32 Version: 1.0.1737.16175
CodeBase: file:///C:/prj/nprof/NProf.Application.exe
----------------------------------------
NProf.Glue
Assembly Version: 1.0.1737.16169
Win32 Version: 1.0.1737.16169
CodeBase: file:///C:/prj/nprof/bin/NProf.Glue.DLL
----------------------------------------
NProf.GUI
Assembly Version: 1.0.1737.16174
Win32 Version: 1.0.1737.16174
CodeBase: file:///C:/prj/nprof/bin/NProf.GUI.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/windows/assembly/gac/system.windows.forms/1
.0.5000.0__b77a5c561934e089/system.windows.forms.d
ll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.1085
CodeBase:
file:///c:/windows/assembly/gac/system/1.0.5000.0__b77
a5c561934e089/system.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/windows/assembly/gac/system.drawing/1.0.500
0.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
MagicLibrary
Assembly Version: 1.7.4.0
Win32 Version: 1.7.4.0
CodeBase: file:///C:/prj/nprof/bin/MagicLibrary.DLL
----------------------------------------
CommandBar
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/prj/nprof/bin/CommandBar.DLL
----------------------------------------
NProf.Utilities
Assembly Version: 1.0.1737.16170
Win32 Version: 1.0.1737.16170
CodeBase: file:///C:/prj/nprof/bin/NProf.Utilities.DLL
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.1085
CodeBase:
file:///c:/windows/assembly/gac/system.xml/1.0.5000.0_
_b77a5c561934e089/system.xml.dll
----------------------------------------
Accessibility
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/windows/assembly/gac/accessibility/1.0.5000.0
__b03f5f7f11d50a3a/accessibility.dll
----------------------------------------
ICSharpCode.SharpZipLib
Assembly Version: 0.5.0.0
Win32 Version: 0.5.0.0
CodeBase:
file:///C:/prj/nprof/bin/ICSharpCode.SharpZipLib.DLL
----------------------------------------
_kd9lhxp
Assembly Version: 0.0.0.0
Win32 Version: 1.1.4322.1085
CodeBase:
file:///c:/windows/assembly/gac/system/1.0.5000.0__b77
a5c561934e089/system.dll
----------------------------------------
e-ri0ahw
Assembly Version: 0.0.0.0
Win32 Version: 1.1.4322.1085
CodeBase:
file:///c:/windows/assembly/gac/system/1.0.5000.0__b77
a5c561934e089/system.dll
----------------------------------------
t1sw-tlr
Assembly Version: 0.0.0.0
Win32 Version: 1.1.4322.1085
CodeBase:
file:///c:/windows/assembly/gac/system/1.0.5000.0__b77
a5c561934e089/system.dll
----------------------------------------
************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for
this
application or machine (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
machine
rather than being handled by this dialog.