Creating a DBG file

Hi All,
I want to debug my driver program. I have loaded the symbols from the
Win2K Customer support CD into my Host System. Iam using a Null modem cable
to debug the remote target. All the System symbols are getting loaded during
target startup. But my drivers PDB file isnt getting loaded. I think the
reason is because i dont have a corresponding DBG file. If thats true please
let me know the compiler options for creating the DBG file.

Regards,
Syed Mohasin Zaki

==================================================
Syed Mohasin Zaki
Engineer-Software

Wipro Technologies
475A, Old Mahabalipuram Road,
Sholinganallur,
Chennai - 600 119. INDIA
Tel : 91-44-4500200 to 212 Extn:2284
Fax : 91-44-4500250
xxxxx@wipro.com
www.wipro.com
World’s First SEI CMM LEVEL5 Software Services Company


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Hi,
To create a .dbg file for your application, build it with debugging
information. If you are using Microsoft development tools, the compiler
option is /Zi and the linker option is /PDB:NONE.

for more info , u can refer to Windbg documentation.

wish you good luck,

rgds,
Ashok

At 11:10 AM 5/21/2001, you wrote:

Hi All,
I want to debug my driver program. I have loaded the symbols from the
Win2K Customer support CD into my Host System. Iam using a Null modem cable
to debug the remote target. All the System symbols are getting loaded during
target startup. But my drivers PDB file isnt getting loaded. I think the
reason is because i dont have a corresponding DBG file. If thats true please
let me know the compiler options for creating the DBG file.

Regards,
Syed Mohasin Zaki

==================================================
Syed Mohasin Zaki
Engineer-Software

Wipro Technologies
475A, Old Mahabalipuram Road,
Sholinganallur,
Chennai - 600 119. INDIA
Tel : 91-44-4500200 to 212 Extn:2284
Fax : 91-44-4500250
xxxxx@wipro.com
www.wipro.com
World’s First SEI CMM LEVEL5 Software Services Company


You are currently subscribed to ntdev as: xxxxx@wipro.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

…or you could check if your pathnames
(symbol/source/image file path) are set correctly, then
try the “.reload” or “.reload /user” commands to reload
your driver symbols. That should do the trick.

(BTW, you don’t need .dbg files. .pdb files are ok)

Miguel Monteiro
xxxxx@criticalsoftware.com
www.criticalsoftware.com

«Humour and love are God’s answers
to Human weaknesses»

On Monday, May 21, 2001 6:59 AM
“Ashok Kumar Vijaya Srinivas Kadavakollu” wrote:

Hi,
To create a .dbg file for your application, build it with debugging
information. If you are using Microsoft development tools, the compiler
option is /Zi and the linker option is /PDB:NONE.

for more info , u can refer to Windbg documentation.

On Monday, May 21, 2001 11:10 AM
“Syed Mohasin Zaki” wrote:

Hi All,
I want to debug my driver program. I have loaded the symbols from
the
Win2K Customer support CD into my Host System. Iam using a Null modem
cable
to debug the remote target. All the System symbols are getting loaded
during
target startup. But my drivers PDB file isnt getting loaded. I think
the
reason is because i dont have a corresponding DBG file. If thats true
please
let me know the compiler options for creating the DBG file.


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Probably your PDB file can’t be found. You can set a path to it in WinDbg,
or copy it to a directory in the paths that WinDbg uses. I have a post build
instruction that copies such files to the directories where they will then
be accessed.

Gary

-----Original Message-----
From: Mohasin Zaki Syed [mailto:xxxxx@wipro.com]
Sent: Sunday, May 20, 2001 10:41 PM
To: NT Developers Interest List
Subject: [ntdev] Creating a DBG file

Hi All,
I want to debug my driver program. I have loaded the symbols from the
Win2K Customer support CD into my Host System. Iam using a Null modem cable
to debug the remote target. All the System symbols are getting loaded during
target startup. But my drivers PDB file isnt getting loaded. I think the
reason is because i dont have a corresponding DBG file. If thats true please
let me know the compiler options for creating the DBG file.

Regards,
Syed Mohasin Zaki

==================================================
Syed Mohasin Zaki
Engineer-Software

Wipro Technologies
475A, Old Mahabalipuram Road,
Sholinganallur,
Chennai - 600 119. INDIA
Tel : 91-44-4500200 to 212 Extn:2284
Fax : 91-44-4500250
xxxxx@wipro.com
www.wipro.com
World’s First SEI CMM LEVEL5 Software Services Company


You are currently subscribed to ntdev as: xxxxx@broadstor.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com