We've been developing .NET Core micro-services for a few months. Obviously we've decided to use Docker for Windows for deployment. Don't get me wrong I still find the experience amazing: Write code, and immediately debug your code running on Docker, it got to a point I no longer think about this amazing integration - write … Continue reading What to do when Visual Studio 2017 debugger won’t attach to Docker
Tag: Debug
Using conditional breakpoints to filter exceptions during debugging
With every new version the C# language has grown and improved. The last version so a.k.a C# 6 has brought some of my favorite features. And with C# 7 just around the corner I know there's more to come. One of the new useful features added to C# is the ability to filter exceptions. Consider … Continue reading Using conditional breakpoints to filter exceptions during debugging
Implementing Soundex using LINQ (with help from OzCode)
A while ago I came across the very interesting Soundex algorithm. It’s a way to find similarity between words based on how they sound – I’ll let Wikipedia explain:Soundex is a phonetic algorithm for indexing names by sound, as pronounced in English. The goal is for homophones to be encoded to the same representation so … Continue reading Implementing Soundex using LINQ (with help from OzCode)
VS15 can add conditions to exceptions!
Last week at (or rather during) //Build conference a new Visual Studio was unveiled. You can download the preview right now – I’ll wait…Getting a new Visual Studio feels like Christmas morning (if I was celebrating Christmas). There’s always cool features to explore and new things to play with, an improved shade of purple of … Continue reading VS15 can add conditions to exceptions!
Using OzCode’s Custom Expression to show object’s xml serialization
I’ve been working with OzCode for some time now, and every now and then I find a cool capability I didn’t know it had.Today I wanted to investigate (read: debug) the way several objects were xml-serialized for a demo I’m preparing and for that I created the following method:static class Xml{ public static string SerializeObject(this … Continue reading Using OzCode’s Custom Expression to show object’s xml serialization
Did you know that Visual Studio shows deadlocked tasks?
I didn’t…And it’s not a new feature – since it existed since freaking Visual Studio 2010!Yesterday during an unrelated meeting Alon Fliess showed a bunch of us developers how Visual Studio detects deadlocks in tasks (automatically) and shows the current task status in both Parallel Tasks and Tasks debug windows (duh).I got home late but … Continue reading Did you know that Visual Studio shows deadlocked tasks?
Using C++ debug visualizers in VS2015
I have been using the .NET debug visualizers (and DebuggerDisplay atribute) for a long (long) time and I like the way they make my code easy(ier) to debug. Until recently I was not aware that Visual Studio has a similar capability for C++.Any C++ dev armed with Visual Studio can use XML files to create … Continue reading Using C++ debug visualizers in VS2015