Re: the process of debugging

Tech-Archive recommends: Fix windows errors by optimizing your registry



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.
>>>
>>>
>>
>>
>
>


.



Relevant Pages

  • Re: the process of debugging
    ... > use the Trace and Debug classes to trace the execution of your code. ... > 'Debugging applications for microsoft .NET and microsoft Windows' ...
    (microsoft.public.vc.language)
  • .Net not able to debug a webform
    ... Error while trying to run project: Unable to start debugging on the web ... Set customError mode values to control the display of user-friendly ... error messages to users instead of error details (including a stack trace): ... <!-- SESSION STATE SETTINGS ...
    (microsoft.public.dotnet.framework)
  • RE: Enable Perl Debugging at Run-Time
    ... however it would be neater if there was a command in perl ... It's a filter which removes 'debugging' code based on ... This particular script is one of many CGI's, so I don't have much scope ... code to 'self trace' and dump trace data to STDERR. ...
    (perl.beginners)
  • Re: AMD64 X2 lost ticks on PM timer
    ... to what debugging facilities are available with each preemption level. ... I got the following trace. ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: TIP #280, extended callframe introspection and debugging
    ... Sounds like an "error hook" type job. ... allowing a general debugging level to do whatever it wants; ... until something resets the trace list. ... extra information. ...
    (comp.lang.tcl)