Jump to content

JIT Debugging


Recommended Posts

Show us the error message you're receiving. A screenshot will do.

Link to comment
Share on other sites

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

************** Exception Text **************
PaintDotNet.Direct2D.NoHardwareDeviceException (0x8899000B): ..\Direct2D\D2DFactory.cpp (96) : hr = m_pFactory->CreateDCRenderTarget( &NativeConversions::ToNative(renderTargetProperties), &spDCRenderTarget); (PaintDotNet.Controls.PdnBanner)
   at PaintDotNet.Interop.ExceptionFactory.ThrowOnError(Int32 hr, String message, Exception innerEx) in d:\src\pdn\paintdotnet\src\Base\Interop\ExceptionFactory.cs:line 144
   at PaintDotNet.Interop.InteropErrorInfo.ThrowIfError() in d:\src\pdn\paintdotnet\src\Base\Interop\InteropErrorInfo.cs:line 91
   at PaintDotNet.SystemLayer.Native.x64.NativeUtilities.ThrowOnErrorImpl(Int32 hr, SByte* szHr, IUnknown* pFxErrorInfo)
   at PaintDotNet.SystemLayer.Native.x64.Direct2D.D2DFactory.CreateDCRenderTarget(RenderTargetProperties renderTargetProperties)
   at PaintDotNet.Direct2D.Proxies.Direct2DFactoryProxy.CreateDCRenderTarget(RenderTargetProperties renderTargetProps) in d:\src\pdn\paintdotnet\src\Base\Direct2D\Proxies\Direct2DFactoryProxy.cs:line 62
   at PaintDotNet.Controls.Direct2DControlHandler.RecreateRenderTarget(Boolean invalidateControl) in d:\src\pdn\paintdotnet\src\Framework\Controls\Direct2DControlHandler.cs:line 439
   at PaintDotNet.Controls.Direct2DControlHandler.RelayGdiPaintImpl(GdiPaintContext ctx) in d:\src\pdn\paintdotnet\src\Framework\Controls\Direct2DControlHandler.cs:line 508
   at PaintDotNet.Controls.Direct2DControlHandler.RelayGdiPaint(GdiPaintContext ctx) in d:\src\pdn\paintdotnet\src\Framework\Controls\Direct2DControlHandler.cs:line 494
   at PaintDotNet.Controls.Direct2DControl.OnGdiPaint(GdiPaintContext ctx) in d:\src\pdn\paintdotnet\src\Framework\Controls\Direct2DControl.cs:line 346
   at PaintDotNet.SystemLayer.GdiPaintHandler.OnWmPaint(Message& m) in d:\src\pdn\paintdotnet\src\SystemLayer\GdiPaintHandler.cs:line 184
   at PaintDotNet.SystemLayer.GdiPaintControl.WndProc(Message& m) in d:\src\pdn\paintdotnet\src\SystemLayer\GdiPaintControl.cs:line 132
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
SetupFrontEnd
    Assembly Version: 4.6.5693.28
    Win32 Version: 4.6.5693.28
    CodeBase: file:///C:/Users/daren/AppData/Local/Temp/PdnSetup/SetupFrontEnd.exe
----------------------------------------
PaintDotNet.Core
    Assembly Version: 4.6.5693.28
    Win32 Version: 4.6.5693.28
    CodeBase: file:///C:/Users/daren/AppData/Local/Temp/PdnSetup/PaintDotNet.Core.DLL
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34251 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34270 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34238 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
PaintDotNet.Base
    Assembly Version: 4.6.5693.28
    Win32 Version: 4.6.5693.28
    CodeBase: file:///C:/Users/daren/AppData/Local/Temp/PdnSetup/PaintDotNet.Base.DLL
----------------------------------------
PaintDotNet.SystemLayer
    Assembly Version: 4.6.5693.28
    Win32 Version: 4.6.5693.28
    CodeBase: file:///C:/Users/daren/AppData/Local/Temp/PdnSetup/PaintDotNet.SystemLayer.DLL
----------------------------------------
PaintDotNet.Framework
    Assembly Version: 4.6.5693.28
    Win32 Version: 4.6.5693.28
    CodeBase: file:///C:/Users/daren/AppData/Local/Temp/PdnSetup/PaintDotNet.Framework.DLL
----------------------------------------
PaintDotNet
    Assembly Version: 4.6.5693.28
    Win32 Version: 4.6.5693.28
    CodeBase: file:///C:/Users/daren/AppData/Local/Temp/PdnSetup/PaintDotNet.EXE
----------------------------------------
PaintDotNet.Resources
    Assembly Version: 4.6.5693.28
    Win32 Version: 4.6.5693.28
    CodeBase: file:///C:/Users/daren/AppData/Local/Temp/PdnSetup/PaintDotNet.Resources.DLL
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
WindowsBase
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
PaintDotNet.SystemLayer.Native.x64
    Assembly Version: 4.6.5693.28
    Win32 Version: 4.6.5693.28
    CodeBase: file:///C:/Users/daren/AppData/Local/Temp/PdnSetup/Native.x64/PaintDotNet.SystemLayer.Native.x64.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.

 

Link to comment
Share on other sites

That's a message for developers. Not sure why Microsoft puts that kind of message in there, honestly.

 

An easy litmus test is this: if you don't know what JIT means, then you don't need to enable JIT debugging.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...