Tech Support > Microsoft Windows > Drivers > Code not found, breakpoint not set
Code not found, breakpoint not set
Posted by no_name on June 29th, 2008


Hi!
I'm looking for a solution for my issue, and I'm willing to pay for it.
The problem is:

No matter what kind of driver I'm developing, I'm not able to use
Windbg.exe. It slowes me down and I can't stand it any more.
I set properly symbol file path and Source File Path. I'm using vmware 6.0.2
(build 59824) with win XP (SP2) for running the driver. I added to boot.ini
the following "multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Micr osoft
Windows XP Professional - Debug" /fastdetect /debugport=com1
/baudrate=115200". At boot time I select "Microsoft Windows XP
Professional - Debug". Then I start Windbg.exe on my development machine
like this "windbg.exe -b -k comipe,port=\\.\pipe\com_1,resets=0". Windbg
connects to vmware machine and I can see debug output etc... No matter what
I do, I'm not able to set the breakpoint in my source. Even if I reload the
symbols, windbg will say:

0: kd> .reload
Connected to Windows XP 2600 x86 compatible target, ptr64 FALSE
Loading Kernel Symbols
.................................................. .................................................. ...................
Loading User Symbols

Loading unloaded module list
..........
0: kd>

So, it looks all right, but no way to set the breakpoint. It's the same with
every project. On Vmware machine there is only one driver.sys, so there is
no chance of loading the same file from some other path.

!analyze -v says this:

0: kd> !analyze -v
************************************************** *****************************
*
*
* Bugcheck Analysis
*
*
*
************************************************** *****************************

Unknown bugcheck code (0)
Unknown bugcheck description
Arguments:
Arg1: 00000000
Arg2: 00000000
Arg3: 00000000
Arg4: 00000000

Debugging Details:
------------------


PROCESS_NAME: Idle

FAULTING_IP:
nt!RtlpBreakWithStatusInstruction+0
8052a834 cc int 3

EXCEPTION_RECORD: ffffffff -- (.exr ffffffffffffffff)
ExceptionAddress: 8052a834 (nt!RtlpBreakWithStatusInstruction)
ExceptionCode: 80000003 (Break instruction exception)
ExceptionFlags: 00000000
NumberParameters: 3
Parameter[0]: 00000000
Parameter[1]: 80552780
Parameter[2]: 000003f8

ERROR_CODE: (NTSTATUS) 0x80000003 - {EXCEPTION} Breakpoint A breakpoint
has been reached.

DEFAULT_BUCKET_ID: STATUS_BREAKPOINT

BUGCHECK_STR: 0x0

STACK_TEXT:
805503ac 80544369 00000001 80544d02 000000d1
nt!RtlpBreakWithStatusInstruction
805503ac f9a1e062 00000001 80544d02 000000d1 nt!KeUpdateSystemTime+0x175
80550450 80544f8c 00000000 0000000e 00000000 intelppm!AcpiC1Idle+0x12
80550454 00000000 0000000e 00000000 00000000 nt!KiIdleLoop+0x10


STACK_COMMAND: kb

FOLLOWUP_IP:
nt!RtlpBreakWithStatusInstruction+0
8052a834 cc int 3

SYMBOL_STACK_INDEX: 0

SYMBOL_NAME: nt!RtlpBreakWithStatusInstruction+0

FOLLOWUP_NAME: MachineOwner

MODULE_NAME: nt

IMAGE_NAME: ntkrpamp.exe

DEBUG_FLR_IMAGE_TIMESTAMP: 45e53f9d

BUCKET_ID: MANUAL_BREAKIN

Followup: MachineOwner
---------



If anybody can help.... that would be great!!!
Thank you very much.


Posted by Maxim S. Shatskih on June 30th, 2008


Is it possible to set a breakpoint in assembler code in WinDbg?

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com



Similar Posts