New PDF release: Debugging Applications for Microsoft.NET and Microsoft

By John Robbins

ISBN-10: 0735615365

ISBN-13: 9780735615366

Within the predecessor quantity of Debugging functions for Microsoft .NET and Microsoft home windows, which handled visible easy 6, John Robbins broke new flooring by way of codifying the recommendations and methods inquisitive about debugging Microsoft home windows purposes. during this enormously revised and lots more and plenty longer model (in conserving with Microsoft's giant shift to the .NET architecture), Robbins achieves nice development in creating a right specialist self-discipline out of debugging - and in displaying the 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 fallacious software program layout and their later manifestation in defective coding perform. He explains in nice element, for instance, tips on how to use assertions (in live performance with errors dealing with) to maintain undesirable info from moving into software program modules and inflicting difficulty. This insurance is why your improvement workforce should still learn this ebook prior to getting too a long way down the improvement path.If you are already performed together with your software program procedure and simply cannot make it paintings correct (and, clearly, the time limit of loss of life is looming), this ebook deals wish to boot. are looking to write a style that you just invoke manually basically while this system is at a breakpoint within the debugger? This e-book exhibits how. want plenty of info on how you can upload assembly-language code in your visible C++ .NET software program? you will find them right here. there is a lot of data approximately how debuggers do their paintings normally, too. to place it concisely, this e-book includes a career's worthy of knowledge on how one can retain insects to a minimal and music them down after they happen.

Show description

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

Similar languages & tools books

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

Within the predecessor quantity of Debugging functions for Microsoft . web and Microsoft home windows, which handled visible simple 6, John Robbins broke new floor through codifying the innovations and methods curious about debugging Microsoft home windows functions. during this enormously revised and masses longer model (in protecting with Microsoft's great shift to the .

Read e-book online Threaded Interpretive Languages: Their Design and PDF

Introduces participants possessing microcomputers or minicomputers with minimum peripherals to the layout and implementation of a threaded interpreter as an method of constructing a customary, nonstandard programming language.

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

Example text

Additionally, I don't completely agree with the default compiler and linker settings that the Visual C++ project wizards give you, as I mentioned earlier in the chapter. Consequently, I always 44 Chapter 2: Getting Started Debugging Chapter 2: Getting Started Debugging 45 change some of the settings. If you don't want to set all of these manually, the SettingsMaster add-in from Chapter 9 will do the work for you. EXE Although you can add these switches manually in the project Property Pages dialog box, C/C++ folder, Command Line property page, Additional Options text box, you're much better off setting them in their appropriate locations.

Also make sure to do any rebasing before you sign a DLL. If you rebase a DLL after it's been signed, that DLL won't load. NET documentation for rebasing your DLLs. As you can see, the recommended format is to use an alphabetical scheme. I generally follow this scheme because it's simple. The operating system DLLs load from 0x70000000 to 0x78000000, so using the range in Table 2-1 will keep you from conflicting with the operating system. Of course, you should always look in your application's address space by using Process Explorer or ProcessSpy to see whether any DLLs are already loaded at the address you want to use.

That way, others in the company can see how you're going to handle bugs proactively when they come up. As you're planning your debugging systems, you need to establish your preventive debugging policies. The first and most difficult parts of this process involve determining how you're going to return error conditions in the project. Whatever you do, make sure you pick only one way and stick with it. One project I encountered long ago (and fortunately wasn't a part of) had three different ways to return errors: return values, setjmp/longjmp exceptions, and through a global error variable similar to the C run-time library's errno variable.

Download PDF sample

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


by Charles
4.1

Rated 4.53 of 5 – based on 13 votes