Replies: 1 comment 6 replies
-
The OOP designer is a closed source, and while technically you can attach a debugger to the DesignToolsServer.exe you unlikely get far.
If you're trying to get your control to work in the OOP designer, then you'll need to use https://www.nuget.org/packages/Microsoft.WinForms.Designer.SDK/. @KlausLoeffelmann is currently working on the docs and samples. |
Beta Was this translation helpful? Give feedback.
-
Do you have any guidance on debugging the designer?
I get a
The connection to the server has been lost
dialog (be nice to have a meaningful error message here, theWinforms OOP Designer has terminated unexpectedly
or something meaningful).There's no information in the dialog, no stack trace. No errors in the event viewer.
Basic steps to reproduce:
ChromiumWebBrowser
instance from the toolboxhttps://github.com/cefsharp/CefSharp/tree/winforms/oopdesigner
(If someone would actually like to debug this then please let me know and I'll provide more detail)
Background
CefSharp project provides a
WinForms
implementation with a ultra minimalist designer (basically so you can add the control via the toolbox).CefSharp
is build usingVC++
and has many unmangaed dependencies. For the classic Designer I've always avoided making any calls that would attempt to load theVC++ dll
.Basically I need a stack trace to know what caused the exception.
Beta Was this translation helpful? Give feedback.
All reactions