Debugging
-
One of the highlights of last weekend's AEC Hackathon in Berlin was getting to meet Michael and Keith from the Dynamo team. They'd delivered a pre-event workshop on the Friday and stayed on to tutor the many Dynamo-centric teams participating in the weekend's Hackathon. On afternoon on Saturday Keith and Michael presented an additional session […]
-
Yesterday I finally took the time to work on one of those tasks that had previously never quite bubbled up to the top of my priority list. Since I've been working on Dasher 360 I've put up with using the developer tools built into Chrome for debugging. While these are pretty good – especially with […]
-
The C++ developers among you may remember the autoexp.dat file, which tells older versions of Visual Studio how to visualize custom C++ types during a debug session. Here's an ancient post showing how we extended it for some basic ObjectARX types and another showing how to do so via a custom plug-in. In Visual Studio […]
-
There are lots of reasons to want to use the newly-released Visual Studio 2013 to develop and debug .NET modules for AutoCAD. One of the main ones is the long-awaited addition of Edit & Continue support for 64-bit applications. Unfortunately in this post we'll see why, despite the wait, E&C isn't going to work when […]
-
As a follow-on from the last post, in today's we're going to look at a crude approach for collecting execution information about functions of your choosing from a .NET app inside AutoCAD. We're going to extend the implementation shown last time to record the time taken for the various "instrumented" commands to execute and make […]
-
Inspired by the Windows 8 conference I attended on Monday, I've decided to build my first Metro-style application which scrolls through AutoCAD's Most-Recently-Used (MRU) drawing list. I now have a barebones installation of the Windows 8 Consumer Preview + VS11 Beta inside a Parallels VM on my Mac, but rather than installing AutoCAD into that, […]
-
A couple of recent posts have covered different ways of checking whether a point is on a curve. This post looks at a rudimentary way of profiling the relative performance of these various methods, in order to determine the best approach to use, in general. There are various performance profiling technologies available on the market, […]
-
Given the fact AU 2011 is quickly approaching, I decided it was time to dust off my Kinect-related code and getting it working with the Beta SDK from Microsoft Research. Part of the reason I haven't been able to do this sooner is that my primary work machine is currently a MacBook Pro running Windows […]
-
Visual C# Express and Visual Basic Express can be used successfully to build .NET applications for AutoCAD: in fact many developers use these tools to do so. One long-standing issue with using these tools with AutoCAD relates to debugging: the ability to debug using an external application is not directly exposed via the user interface […]
-
Thanks for George Varghese and Albert Szilvasy from the AutoCAD Engineering team for this helpful tip (culled from an internal email discussion). If you've ever wondered how to reduce the noise AutoCAD makes in Visual Studio's output window while debugging – at least since AutoCAD 2009, when we integrated WPF for user-interface components such as […]