How to debug GDI + in C #?

I have a user control and it is not drawn correctly, how to debug a drawing? If I set a breakpoint, the control will be locked, I can not immediately see the result of drawing? Any ideas?

+3
source share
2 answers

What you need is a graphical debugger .

+4
source

It’s best to debug drawing operations by setting up multiple monitors, but there are a few other things that can help if you only have one monitor.

  • (Visual Studio), . , , .
  • 2- . , , .
  • , , , ( /, ctrl, alt ). , .

, ( p/invoke) pinvoke.net.

GetKeyState() @MSDN
pinvoke.net: GetKeyState (user32)

+3

Source: https://habr.com/ru/post/1725245/


All Articles