Download e-book for kindle: Debugging Applications for Microsoft.NET and Microsoft by John Robbins

By John Robbins

ISBN-10: 0735615365

ISBN-13: 9780735615366

Within the predecessor quantity of Debugging purposes for Microsoft .NET and Microsoft home windows, which handled visible easy 6, John Robbins broke new flooring by means of codifying the innovations and techniques eager about debugging Microsoft home windows purposes. during this vastly revised and lots more and plenty longer model (in protecting with Microsoft's colossal shift to the .NET architecture), Robbins achieves nice development in creating a right specialist self-discipline out of debugging - and in exhibiting the best way to layout software program to maintain insects from showing within the first place.The maximum price of Robbins' paintings is in his therapy of insects' origins in incorrect software program layout and their later manifestation in defective coding perform. He explains in nice aspect, for instance, tips to use assertions (in live performance with errors dealing with) to maintain undesirable information from stepping into software program modules and inflicting difficulty. This assurance is why your improvement crew may still learn this e-book earlier than getting too a long way down the advance path.If you are already performed together with your software program process and simply cannot make it paintings correct (and, evidently, the time limit of dying is looming), this publication bargains desire besides. are looking to write a style that you just invoke manually purely while this system is at a breakpoint within the debugger? This booklet exhibits how. desire plenty of information on the way to upload assembly-language code in your visible C++ .NET software program? you can find them right here. there is a lot of knowledge approximately how debuggers do their paintings quite often, too. to place it concisely, this ebook includes a career's worthy of knowledge on the way to retain insects to a minimal and tune them down after they take place.

Show description

Read or Download Debugging Applications for Microsoft.NET and Microsoft Windows PDF

Similar languages & tools books

John Robbins's Debugging Applications for Microsoft.NET and Microsoft PDF

Within the predecessor quantity of Debugging functions for Microsoft . internet and Microsoft home windows, which handled visible simple 6, John Robbins broke new floor by means of codifying the recommendations and methods keen on debugging Microsoft home windows purposes. during this significantly revised and lots more and plenty longer model (in holding with Microsoft's titanic shift to the .

Additional resources for Debugging Applications for Microsoft.NET and Microsoft Windows

Example text

If you do happen to be setting the #pragma pack directive, don't forget about the new #pragma pack (show) option, which will report the packing to the Build window when compiling. That option will help you keep track of what the current alignment across sections of code actually is. /Wp64 (Detect 64-bit Portability Issues) This excellent switch will save you lots of time getting your code 64-bit ready. You can turn it on in the project Property Pages dialog box, C/C++ folder, General property page by setting Detect 64-bit Portability Issues to Yes (/Wp64).

To turn off that warning, you use the #pragma warning directive as in the following code. Notice that I commented what I was turning off and explained why I was turning it off. When disabling individual warnings, be sure to restrict the scope of the #pragma warning directive to specific sections of code. If you place the directive at too high a level, you can mask other problems in your code. // Turning off "nonstandard extension used : nameless struct/union" // because I'm not writing portable code #pragma warning ( disable : 4201 ) struct S { float y; struct { int a ; int b ; int c ; } ; } *p_s ; // Turn warning back on.

Many developers do a one-off unit test, so testing on other operating systems is difficult because they have no easy way to get the unit tests over and built. If everyone is making unit tests part of the code, you can shave many weeks off your schedules. Controlling Changes Tracking changes is vital; however, having a good bug tracking system in place doesn't mean that developers should be allowed to make wholesale changes to the master sources whenever they want. Such carte blanche would make all the tracking pointless.

Download PDF sample

Debugging Applications for Microsoft.NET and Microsoft Windows by John Robbins


by Thomas
4.0

Rated 4.83 of 5 – based on 41 votes