Hi,
I have modified devload.c (private code... yes I know...)
After rebuilding everything, still when single-steping through the code, my
source-lines donot seem to match the code that is executed.
I am sure it is running my modified version, because of some trace-output
that I modified between differrent builds.
The debugger DOES show the right file. I guess .pdb or .map needs copying ?

Any suggestions what could be wrong here ?

Greetings,
Rob.

RE: Source line mismatch in kernel-debugging by Rob

Rob
Tue Oct 03 11:27:01 CDT 2006

Guess it was due to optimisation...
I got the debug version working, which does not have this problem.

Rob.


"Rob" wrote:

> Hi,
> I have modified devload.c (private code... yes I know...)
> After rebuilding everything, still when single-steping through the code, my
> source-lines donot seem to match the code that is executed.
> I am sure it is running my modified version, because of some trace-output
> that I modified between differrent builds.
> The debugger DOES show the right file. I guess .pdb or .map needs copying ?
>
> Any suggestions what could be wrong here ?
>
> Greetings,
> Rob.
>
>
>
>
>
>
>

Re: Source line mismatch in kernel-debugging by Dean

Dean
Tue Oct 03 11:47:05 CDT 2006

Correct. You will not get accurate source level debugging with optimized
builds. Switch to disassembly view and it will be accurate...

--
Dean Ramsier - eMVP
BSQUARE Corporation


"Rob" <Rob@discussions.microsoft.com> wrote in message
news:2411CCF4-A4BC-4F63-89B9-B40B22787ACE@microsoft.com...
> Guess it was due to optimisation...
> I got the debug version working, which does not have this problem.
>
> Rob.
>
>
> "Rob" wrote:
>
>> Hi,
>> I have modified devload.c (private code... yes I know...)
>> After rebuilding everything, still when single-steping through the code,
>> my
>> source-lines donot seem to match the code that is executed.
>> I am sure it is running my modified version, because of some trace-output
>> that I modified between differrent builds.
>> The debugger DOES show the right file. I guess .pdb or .map needs copying
>> ?
>>
>> Any suggestions what could be wrong here ?
>>
>> Greetings,
>> Rob.
>>
>>
>>
>>
>>
>>
>>