I’ve been using the CefSharp.Offscreen library to drive the Chromium browser for a couple of months now. While the code I’ve been working on has been working correctly, I could never figure out why so many instances of Chromium are left dangling in my task manager. Oh, they’d all go away once I exited the application, but then it would take a very long time for my application to completely close because there were so many instances of Chromium hanging around.
This past week, I finally figured out how to keep the number of Chromium instances in line with the number of off-screen browser windows I was actually creating.
Continue reading “CefSharp Offscreen [Why do I have so many instances of Chromium?]”
It amazes me how rare the skill of debugging software is. It is even more amazing to me that after programming for over 27 years now, I still have trouble with this. So, as a checklist for myself, and as a possible help to others along the way, I offer you “How to Debug Your Code”
Continue reading “Debugging Software”
For the purposes of this post, I’m going to assume that you already have the NUnit Test Runner installed. The question you are looking to get answered is, “How do I run NUnit from Visual Studio” or even more importantly, “How do I DEBUG NUnit test from Visual Studio”. The following step by step should help you.
Right click on the project in Solution Explorer that represents your test project. From the resulting menu, select “Properties.” In the resulting window, selec the “Debug” tab from the left-hand side of the window. Continue reading “Run NUnit from Visual Studio”