Visual Studio's Natvis Debugging Framework Tutorial

Last time in A Debugging Tip: Write Custom Visualizers in Visual Studio, I introduced the Visual Studio’s Natvis Framework and showed you a couple of samples. That article was just a basic introduction, and now it’s time to see more experiments. Learn From Existing Code First of all, we can examine existing code that is shipped with Visual Studio and see how it works.

READ MORE...

How I Improved My Legacy C++ Project with PVS-Studio

Since a few months, I’ve been refactoring my old C++/OpenGL project. Thus far, I used compilers (MSVC and Clang), my knowledge or free tools. At some point, I also got a chance to leverage a solid static analysis tool - PVS-Studio. The tool helped me with identifying 8 critical issues not to mention good code style and performance enhancements (in total 137 warnings)

READ MORE...

C++ Ecosystem: Compilers, IDEs, Tools, Testing and More

To write a professional C++ application, you not only need a basic text editor and a compiler. You require some more tooling. In this blog post, you’ll see a broad list of tools that make C++ programming possible: compilers, IDEs, debuggers and other. Last Update: 14th October 2019. Note: This is a blog post based on the White Paper created by Embarcadero, see the full paper here: C++ Ecosystem White Paper.

READ MORE...

Productive C++ Developer, my recent talk

A few weeks ago I gave another talk at my local C++ user group. We discussed recent “goodies” from C++ and tools that can increase productivity. Intro In my post for the “C++ summary at the end of 2017” I mentioned that we could see a considerable improvement in the area of tooling for the language.

READ MORE...

Better code understanding with Sourcetrail

Do you write code 100% of your job time? I’m guessing the answer is no. Ignoring the whole management part, meetings, coffee, youtube, cats, etc, even if you’re sitting at your keyboard you’re not typing all the time. So what else are you doing? The short answer: you’re probably figuring out what to write and where to add new features (and what to fix)… so you’re mostly reading and trying to understand the code.

READ MORE...

Learning from bugs and PVS-Studio Team

Real life: Fixed 1 out of 99 bugs in a project. 117 to go… Have you experienced something similar? Although it’s impossible to write bug-free code, there are tools and practices to lower the rate of mistakes. Today, I’d like to run through a gigantic list of freely available resources from the PVS-Studio Team who works with bugs analysis on a daily basis.

READ MORE...

Enhancing Visual Studio with Visual Assist

How does your typical coding session in Visual Studio look like? What’s the first thing you do when you’re about to start coding? Yes… let’s check Gmail, Youtube, Reddit, etc… :) OK, please be more professional! So, let’s assume my Visual Studio (2013, 2015 or 2017) is already started. What to do next?

READ MORE...