When the dialog box appears, select "Modify" and enable debugging at 'Cross Platform Development -> Visual C++ Mobile Development -> Visual C++ iOS Development'.ĬLRDBG is the new cross-platform command line debugger from Microsoft, used for debugging. Open the Programs and Features applet in the Control Panel, right click on your version of Microsoft Visual Studio, and select "Change". who would have guessed that you'd need iOS development bits enabled?). This is done by enabling C++ iOS Development (I know, right?. Once you've checked off that prerequisite, you need to enable MIDebugEngine, which is the Windows-side executable that talks to the Linux-side debugging application. If you don't have Visual Studio and just don't know where to start, download Visual Studio Community Edition from the Visual Studio Community web site. And never forget if you get stuck, you can reach me on Twitter or email me at 1: Enable Visual Studio on Windowsįor starters, you must have Visual Studio 2015, Update 2, or newer. It's a bit of work to get set up - not difficult, just several steps - but after doing it one time it becomes very easy for future projects. Well guess what We can. It's called "offroad debugging" and it's not difficult to set up and - this is a technical term - it's very cool. If only we could run interactive debugging from within Visual Studio against our compiled C# code running in our RHEL VM. Any kinds of tests, even automated tests (you are using TDD, right? Right?) only confirm the existence - as rare as they are in your code - of defects. Sure, we can write to a log and check inputs and outputs against expected results, but even that's not enough. Since code sometimes has bugs ( cough), we need to debug our code. (Okay, not that far the VM is running on the Red Hat Container Development Kit on your Windows box, but let's call that last sentence "poetic license" and move on.)Įditing isn't enough we all know that. Visual Studio, that familiar, productive and helpful IDE, is at your fingertips even though your code is far away in a Linux VM. As a Windows developer, you're able to work in an environment you know and trust while still being able to experiment - and hopefully produce production code - in Linux, where you may not be quite up to speed. Being able to edit your C# (or F# for that matter) code on your Linux VM from Visual Studio in Windows is pretty great.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |