divyang4481 / nprof

Automatically exported from code.google.com/p/nprof
0 stars 0 forks source link

Nprof doesn't work on Vista-64. #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try running on Vista-64
2. Program crashes immediately (also it starts with big red x's in the
interface.
3.

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

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

************** Exception Text **************
System.BadImageFormatException:  is not a valid Win32 application.
(Exception from HRESULT: 0x800700C1)
   at DotNetLib.Windows.Forms.ContainerListView.DrawBorder(Graphics g)
   at DotNetLib.Windows.Forms.ContainerListView.OnPaint(PaintEventArgs e)
   at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e,
Int16 layer, Boolean disposeEventArgs)
   at System.Windows.Forms.Control.WmPaint(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at DotNetLib.Windows.Forms.ContainerListView.WndProc(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.3053 (netfxsp.050727-3000)
    CodeBase:
file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
NProf
    Assembly Version: 1.0.2483.29070
    Win32 Version: 1.0.2483.29070
    CodeBase: file:///C:/Program%20Files%20(x86)/NProf-0.10/NProf.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e
089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    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.3053 (netfxsp.050727-3000)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/Sy
stem.Drawing.dll
----------------------------------------
DotNetLib.Windows.Forms
    Assembly Version: 0.1.0.6
    Win32 Version: 0.1.0.6
    CodeBase:
file:///C:/Program%20Files%20(x86)/NProf-0.10/DotNetLib.Windows.Forms.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.

What version of the product are you using? On what operating system?
vprof - v0.10

Please provide any additional information below.

Original issue reported on code.google.com by scottp...@gmail.com on 24 Apr 2009 at 4:47

GoogleCodeExporter commented 9 years ago
Check out a threads on the subject:
http://forums.xna.com/forums/p/9099/167831.aspx

Original comment by scottp...@gmail.com on 24 Apr 2009 at 4:48

GoogleCodeExporter commented 9 years ago
The proposed solution(compile from source) does not work using only 2008 
Express 
editions.  The C++ project will not compile as ATL is being removed from this 
version 
of Visual Studio.  Also, one would need to compile the C++ part in Visual C++ 
Express 
and the C# part in Visual C# Express.

As is, this program is useless to someone running x64 Windows and does not have 
a paid-
for copy of Visual Studio.

Original comment by lagatt...@gmail.com on 29 Jun 2009 at 8:40

GoogleCodeExporter commented 9 years ago
This has been fixed in NProf 0.11.

Original comment by staudenm...@googlemail.com on 14 Jul 2009 at 4:04