slick edit debugging problem
From: Saurabh Aggrawal (games60_at_hotmail.com)
Date: 11/26/04
- Previous message: Robert Klemme: "Re: Java Logging API problems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 26 Nov 2004 04:19:39 -0800
Hi everyone.
I am trying to debug an old program of device driver which is made
using c++, SDK and DDK toolkits. The final result of the code is a dll,
which is the device driver for the printer. The code is divided into
many directories. Every directory is making a static library. At last
all the static libraries are producing the dll file which is the device
driver.
To compile the code and build the dll, i open the slick edit 6.0 and go
to the makWin32.mak file and build it using the command "nmake". That
command just builds the dll at the end of a big compilation.
For debugging this application i am opening the file rundll32.dll in
the vc++ 6.0 editor and doing the following steps:
1. project->settings->General->Output file name->rundll32.exe
2. project->settings->General->Browse info file name->rundll32.bcs
3. project->settings->Debug->Exe for debug session->rundll32.exe
4. project->settings->Debug->program
arguments->printui.dll,PrintUIEntry /e /n "Name of the Driver"
5. Now i opened all the .cpp and .h files in the vc++6.0 and added
breakpoints at the locations i wanted to debug.
When i run the application, i can easily debug the project.
The problem is:
1. For editing, i am bound to use slick-edit
2. For compiling, i am bound to open shell in slickedit and compile
using namke.
3. For debugging, i am bound to use vc++ 6.0
Can any one suggest me more portable and easy way, so that i can edit,
compile and debug my project easily.
( The make files used in the project are not recognizable to the vc++
6.0)
Thanks,
Saurabh Aggrawal
- Previous message: Robert Klemme: "Re: Java Logging API problems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|