Alois Kraus

blog

  Home  |   Contact  |   Syndication    |   Login
  109 Posts | 8 Stories | 296 Comments | 162 Trackbacks

News



Article Categories

Archives

Post Categories

Image Galleries

Programming

June 2010 Entries

Microsoft publishes way too many tools to check all of them out. One pretty cool debugging tool is Application Verifier which you can download here. The official docs mention that it is only meant for unmanaged code. But it does work in mixed mode applications as well so you can try to hunt down your managed heap corruption, double closed handles, … with this tool. When you start it the first time you select the executable you want to check and then enable from the right menu the checks you want ......

Innocent looking things can make a huge difference. One of the dark arts a good programmer should master are regular expressions. You can parse complex data with them very quickly but the syntax of Regular Expressions looks like black magic. At MSDN there are a lot of well documented examples online which is useful when you have forgotten how this quantifier or that grouping expression does work. There is also some advice on performance which can be very helpful in specific occasions. When it comes ......

Did you ever ask yourself during coding how far you can get with simple constructs and when it is time to use the more advanced but also more complex constructs? When you take the next step it can happen that you discover that the more “complex” solution is even more simple! I had such an aha moment with the Windows Forms ListView. I had one in detailed mode with several thousand rows which did show up very slowly because of the huge number of ListViewItem objects inside it. Nothing fancy but for ......

In my inital announcement I could only cover a small subset what ApiChange can do for you. Lets look at how ApiChange can help you to fix bugs due to wrong usage of an Api within a fraction of time than it would take normally. It happens that software is tested and some bugs show up. One bug could be …. : We get way too man log messages during our test run. Now you have the task to find the most frequent messages and eliminate the Log calls from the source code. But what about the myriads other log ......

I have been working on little tool to simplify my life and perhaps yours as developer as well. It is basically a command line tool that allows you to execute queries on your compiled .NET code base. The main purpose is to find out how big the impact of an api change would be if you changed this or that. Now you can do high level operations like Diff public types for breaking changes. Who uses a method? Who uses a type? Who uses implements an interface? Who references me? What format has the binary ......