Re: the process of debugging
- From: "marco 2" <rebel-6-out@xxxxxxxxx>
- Date: Wed, 25 Jan 2006 22:48:37 +0100
hi Bruno!
please help me on this!
1. how do i actually include an asssert?
do i have to #include "assert.h"?
2. how (for god's sake) do i use the Trace and Debug
classes???
M.
"Bruno van Dooren" <bruno_nos_pam_van_dooren@xxxxxxxxxxx> schreef in bericht
news:%23xmoC8eIGHA.2900@xxxxxxxxxxxxxxxxxxxxxxx
> there are a number of things, but the following things are generally
> usefull:
> sprinkle assert statements in your code whenever you expect pointers to
> have a certain value, or whenever values always have to be within limits.
> remove code from your program until you find the problem.
> use the Trace and Debug classes to trace the execution of your code.
>
> but if you really want a good explanation of debugging with visual studio
> .NET, read
> 'Debugging applications for microsoft .NET and microsoft Windows'
> by John Robbins.
>
> it's a very good book.
>
> kind regards,
> Bruno.
>
>
>
> "marco 2" <rebel-6-out@xxxxxxxxx> wrote in message
> news:43d7deaa$0$12836$ba620dc5@xxxxxxxxxxxxxxxxxxxxxx
>>i just want a structured description of
>> debugging in general in steps.
>>
>> M.
>>
>> "marco 2" <rebel-6-out@xxxxxxxxx> schreef in bericht
>> news:43d7dab7$0$12850$ba620dc5@xxxxxxxxxxxxxxxxxxxxxx
>>> in addition to former question:
>>> i don't want to use any pageheap,
>>> except p-heap facilities that are standardly
>>> integrated into JIT/vstudio-debugger.
>>>
>>> M.
>>>
>>> "marco 2" <rebel-6-out@xxxxxxxxx> schreef in bericht
>>> news:43d7d90d$0$12847$ba620dc5@xxxxxxxxxxxxxxxxxxxxxx
>>>> Hi everyone!
>>>>
>>>> can some of you give me a structured global description
>>>> of how to undertake the process of debugging
>>>> (among others with JIT deb.)???
>>>> also especially for resolving NULL pointers and
>>>> acces violations (on adress 0x00000)???
>>>>
>>>> Thanxxx,
>>>> Marc K.
>>>>
>>>>
>>>
>>>
>>
>>
>
>
.
- Follow-Ups:
- Re: the process of debugging
- From: Bruno van Dooren
- Re: the process of debugging
- References:
- the process of debugging
- From: marco 2
- Re: the process of debugging
- From: marco 2
- Re: the process of debugging
- From: marco 2
- Re: the process of debugging
- From: Bruno van Dooren
- the process of debugging
- Prev by Date: Re: the process of debugging
- Next by Date: Re: SetTimer with NULL for HWND
- Previous by thread: Re: the process of debugging
- Next by thread: Re: the process of debugging
- Index(es):
Relevant Pages
|