NEW: While debugging with GDB, you can now step into disassembly code when the sources are not available.NEW: CLion now locates the precompiled headers and headers included via -include option, in order to correctly resolve symbols from such files and correctly highlight the code, navigate through it, perform code refactorings, etc.NEW: improve CLion’s parser and code analysis.It will enhance your productivity with a smart editor, code quality assurance, automated refactorings and deep integration with the CMake build system. At least that is what I heard.CLion is a fully integrated C/C++ development environment. I have no experience with CLion, but there is some kind of development or beta channel, where you can use it for free for 30 days and after 30 days just download new version and use it another 30 days. MSVC's debugger is superior to both of the debuggers. You can also use mingw with QtCreator, but the GDB (note the difference - CDB and GDB) debugger is also very slow for large projects. It is also starting to have freezing issues as our code base grows. However, it is using CDB debugger (if using MSVC tools for compilation), which is extremly slow and unusable for larger projects with many debugging symbols. It supports even non-qt cmake based projects. The IDE is quite good for smaller projects. I hate anything subscription based.Īt my job, however, we develop a Qt-based app in QtCreator. I hope MS will never get rid of these permanent licenses. It is not really expensive, it was like 1/3 of my monthly salary and I have been using it for like 3 years I think. I personally use VS 2019 Professional, the non subscription "life-time" license. After activating VS with the account, you can remove the account from VS and it will still be activated. You need to use that account to activate VS (for free), or you will only have 30 days trial. But all versions require you to make a Microsoft account (which is free). Community version (2019) has some restrictions regarding commertial development for bigger companies. Express (but last one is 2017), that you can use more or less how you want, but no plugin support. Then I start a WSL (Windows Subsystem for Linux) instance, cd to where I have the cmake file, and build and test with GCC/Clang in the WSL Distro. I develop and debug the code using Visual Studio, with the built in CMake support. I develop a lot of cross-platform libraries and code. One thing with regards to cross-platform. But for performance, debugging, profiling, and code completion, Visual Studio is better. So in summary, for cross platform and refactoring (and you don't want to get Resharper), CLion is better. CLion uses their own JetBrains parser for C++, which does not handle all the complications of the language as well as Visual Studio Especially with heavily templated code or code that uses recent C++ features, Visual Studio is way ahead. Profiling - Visual Studio has an amazing, easy to use profiler.Ĭode Completion - Visual Studio has an actual compiler front end (EDG) that it uses for code completion. Though if you get Resharper for Visual Studio, the gap substantially narrows (from what I hear, have not used Resharper myself, but have heard great things for it). Refactoring - CLion does this much better. When debugging, it is nice to see std::map as map than as a red-black tree with pointers While CLion does the basics, Visual Studio does so much more and has better visualizers for more containers such as std and boost. Less stuttersĭebugging - Visual Studio is much better at debugging. Performance - Visual Studio handles larger projects better than CLion. Here is my analysis of Visual Studio vs CLion I have used both and also have a personal license for CLion (mainly for Rust development). I would say if you have the choice, go with Visual Studio.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |