Graphics.cs DrawLine冻结 [英] Graphics.cs DrawLine freezes

查看:100
本文介绍了Graphics.cs DrawLine冻结的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我在Graphics类中遇到问题。我使用组件1报告生成pdf文件。有时应用冻结。我试图找到冻结的地方,并设置Visual Studio来调试.NET Framework。当应用程序冻结时,我暂停Visual Studio
调试器以找到它冻结的区域。它在第1208行的Graphics.cs中停止 - CheckErrorStatus(status)。但我不能继续结束方法或步入CheckErrorStatus。看起来GDI存在问题? 

I have problem in Graphics class. I use component one report to generate pdf files. Sometimes application freezes. I tried to find place where it freezes and I set up Visual Studio to debug .NET Framework. When application freezed I paused Visual Studio debugger to find area where it freezed. It stopped in Graphics.cs at line 1208 - CheckErrorStatus(status). But I cannot continue to end of method or step into CheckErrorStatus. It looks like there is problem with GDI? 

什么会导致这种行为?当它冻结应用程序使用CPU时,你可以看到。应用程序在Windows Server 2016上运行,但我可以在Windows 10 Professional(17134.407)上进行模拟。 .NET Framework的版本是4.6.1。 
$

What can cause this behavior? When it freezed application use CPU as you can see. Application runs on Windows Server 2016 but I can simulate it on Windows 10 Professional (17134.407). Version of .NET Framework is 4.6.1. 

推荐答案

Hi Petr B,

Hi Petr B,

谢谢在这里发布。

对于您的问题,请提供可以重现冻结的代码示例以及您用于调试我们测试的步骤。

For your question, please provide the code sample which could reproduce the freezes and the steps which you used to debug for us to test.

最诚挚的问候,

Wendy


这篇关于Graphics.cs DrawLine冻结的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆