ArgusMagnus Posted August 21, 2015 Share Posted August 21, 2015 Sometimes when I run paint.net from Visual Studio to debug my plugins, every now and then it gets really slow. And if I use a tool such as the brush in one of these moments (e.g. after opening a large png file) I get an exception. This happens independent of my plugin, if the plugin code is never run. Exception: System.OperationCanceledException was unhandled by user code HResult=-2146233029 Message=Der Vorgang wurde abgebrochen. Source=PaintDotNet.Base StackTrace: bei PaintDotNet.ExceptionUtil.ThrowOperationCanceledException() in d:\src\pdn\paintdotnet\src\Base\ExceptionUtil.cs:Zeile 221. bei PaintDotNet.Rendering.ContentRendererBgra.ThrowIfCancellationRequested() in d:\src\pdn\paintdotnet\src\Core\Rendering\ContentRendererBgra.cs:Zeile 65. bei PaintDotNet.Rendering.ContentRendererBgra.RenderComposited(ISurface`1 dst, PointInt32 renderOffset) in d:\src\pdn\paintdotnet\src\Core\Rendering\ContentRendererBgra.cs:Zeile 184. bei PaintDotNet.Rendering.ContentRendererBgra.Render(ISurface`1 dst, PointInt32 renderOffset) in d:\src\pdn\paintdotnet\src\Core\Rendering\ContentRendererBgra.cs:Zeile 117. bei PaintDotNet.Tools.BitmapLayerToolLayerOverlay`2.OnRender(ISurface`1 dst, PointInt32 renderOffset) in d:\src\pdn\paintdotnet\src\PaintDotNet\Tools\BitmapLayerToolLayerOverlay`2.cs:Zeile 44. bei PaintDotNet.Canvas.DocumentLayerOverlay.Render(ISurface`1 dst, PointInt32 renderOffset) in d:\src\pdn\paintdotnet\src\PaintDotNet\Canvas\DocumentLayerOverlay.cs:Zeile 78. bei PaintDotNet.Rendering.PassThruRendererBgra.Render(ISurface`1 dst, PointInt32 srcOffset) in d:\src\pdn\paintdotnet\src\Core\Rendering\PassThruRendererBgra.cs:Zeile 40. bei PaintDotNet.Canvas.DocumentRenderer.Render(ISurface`1 dst, PointInt32 renderOffset) in d:\src\pdn\paintdotnet\src\PaintDotNet\Canvas\DocumentRenderer.cs:Zeile 77. bei PaintDotNet.Canvas.DocumentRenderer.OnCopyPixels[TBitmapLockData](TBitmapLockData dst, PointInt32 srcOffset) in d:\src\pdn\paintdotnet\src\PaintDotNet\Canvas\DocumentRenderer.cs:Zeile 133. bei PaintDotNet.Imaging.BitmapSource`1.OnCopyPixels(Nullable`1 srcRect, Int32 bufferStride, Int32 bufferSize, IntPtr buffer) in d:\src\pdn\paintdotnet\src\Core\Imaging\BitmapSource`1.cs:Zeile 28. bei PaintDotNet.Imaging.BitmapSource.CopyPixels(Nullable`1 srcRect, Int32 bufferStride, Int32 bufferSize, IntPtr buffer) in d:\src\pdn\paintdotnet\src\Core\Imaging\BitmapSource.cs:Zeile 73. bei PaintDotNet.Imaging.Proxies.BitmapSourceProxy`1.CopyPixels(Nullable`1 srcRect, Int32 bufferStride, Int32 bufferSize, IntPtr buffer) in d:\src\pdn\paintdotnet\src\Base\Imaging\Proxies\BitmapSourceProxy`1.cs:Zeile 87. bei PaintDotNet.Imaging.ClippedBitmapSource`1.CopyPixels(Nullable`1 srcRect, Int32 bufferStride, Int32 bufferSize, IntPtr buffer) in d:\src\pdn\paintdotnet\src\PaintDotNet\Imaging\ClippedBitmapSource`1.cs:Zeile 69. bei PaintDotNet.Imaging.Proxies.BitmapSourceProxy`1.CopyPixels(Nullable`1 srcRect, Int32 bufferStride, Int32 bufferSize, IntPtr buffer) in d:\src\pdn\paintdotnet\src\Base\Imaging\Proxies\BitmapSourceProxy`1.cs:Zeile 87. bei PaintDotNet.Imaging.CancellableBitmapSource`1.CopyPixels(Nullable`1 srcRect, Int32 bufferStride, Int32 bufferSize, IntPtr buffer) in d:\src\pdn\paintdotnet\src\PaintDotNet\Imaging\CancellableBitmapSource`1.cs:Zeile 107. bei PaintDotNet.Imaging.Proxies.BitmapSourceProxy.CopyPixels(Nullable`1 srcRect, Int32 bufferStride, Int32 bufferSize, IntPtr buffer) in d:\src\pdn\paintdotnet\src\Base\Imaging\Proxies\BitmapSourceProxy.cs:Zeile 83. bei PaintDotNet.SystemLayer.Native.x64.Imaging.CBitmapSourceCcw.CopyPixels(CBitmapSourceCcw* , WICRect* prc, UInt32 cbStride, UInt32 cbBufferSize, Byte* pbBuffer) InnerException: Quote My batch Image Processor: https://imagenator.codeplex.com Link to comment Share on other sites More sharing options...
Rick Brewster Posted August 21, 2015 Share Posted August 21, 2015 That's not a crash. OperationCancelledException will happen very frequently. Just tell the debugger to ignore it. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.