Re: Unable to DEbug the Driver in the user mode
- From: "Sahaj" <arora.Sahaj@xxxxxxxxx>
- Date: 9 Sep 2006 00:55:31 -0700
Hi Vladimir,
Thanks for your help, I have used DebugBreak in place of DbgBreak().
I am still not able to get any success. I get the information that " no
source code exist at this location.".
I am going to describe you a bit about my project it may help you to
resolve my problem
1. I have Printer driver code which uses uniDrv & OEMUI code.
2. THERE IS A PORT MONITER(WN32 APPLICATION) WHICH RECIEVE & SEND IT A
3. ANOTHER INTEROP dLL WHICH TRANSFER THE BYTE ARRAY TO .nET
APPLICATION & WHEN THIS APPLICATION CLOSES DOWN IT CLEAN OFF THE PRINT
JOB FROM SPOOLER.
4. there is no debug information is popping up for these win32 dlls
too.
I am getting some information about the debug content(in debug window)
but I am not able to debug source code line by line.
can I get some thing through which I can get the better understanding
of Printer driver work flow.
it may help me.
Thanks,
Sahaj
Sahaj wrote:
Hi Vladimir,
Thanks for your help, I have used DebugBreak in place of DbgBreak().
I am still not able to get any success. I get the information that " no
source code exist at this location.".
I am going to describe you a bit about my project it may help you to
resolve my problem
1. I have Printer driver code which uses uniDrv & OEMUI code.
2. THERE IS A PORT MONITER(WN32 APPLICATION) WHICH RECIEVE & SEND IT A
3. ANOTHER INTEROP dLL WHICH TRANSFER THE BYTE ARRAY TO .nET
APPLICATION & WHEN THIS APPLICATION CLOSES DOWN IT CLEAN OFF THE PRINT
JOB FROM SPOOLER.
4. there is no debug information is popping up for these win32 dlls
too.
I am getting some information about the debug content(in debug window)
but I am not able to debug source code line by line.
can I get some thing through which I can get the better understanding
of Printer driver work flow.
it may help me.
Thanks,
Sahaj
Vladimir Zinin wrote:
Insert DbgBreak() into the driver's code. After the break point occurred
the system itself will ask to attach a debugger.
--
Best regards,
Vladimir Zinin
mailto:vzinin@xxxxxxxxx
Sahaj wrote:
I have attached the My Visual studio 2003 with Notepad.exe.
But the when I set the break point it gives me information "no
executable loaded at this location".
Thanks,
Sahaj
.
- Prev by Date: Re: PNP stop/remove and the current IRP
- Next by Date: Re: Memory ordering and flag/state variables
- Previous by thread: Re: PNP stop/remove and the current IRP
- Next by thread: Re: any sample code for kernel file map ?
- Index(es):
Relevant Pages
|
Loading