Debugging the Dll build in Debug mode
-
Hi.., I need to debug the Dll built in Debug mode. Here i can launch the Debugger but how to give the Code path and Code because all what i has the Dll's..., Could you please suggest some idea's.. Thanks - Biradar
Assuming you use Visual Studio you can right click your DLL-project and choose Properties. Under the "Debug" section you can choose an external program to be launched as a start action - a program that uses your DLL. Another simple way would be to just add for instance a Console project to your solution, add the DLL project to References and then start that program. If you don't use Visual Studio, and your IDE doesn't support the first method described above, you could still use the second method for debugging. Good luck!
-
Hi.., I need to debug the Dll built in Debug mode. Here i can launch the Debugger but how to give the Code path and Code because all what i has the Dll's..., Could you please suggest some idea's.. Thanks - Biradar
Nyanoba wrote:
Here i can launch the Debugger but how to give the Code path and Code because all what i has the Dll's...,
Do you have the code base with which the dll was built?
You talk about Being HUMAN. I have it in my name AnsHUMAN
-
Assuming you use Visual Studio you can right click your DLL-project and choose Properties. Under the "Debug" section you can choose an external program to be launched as a start action - a program that uses your DLL. Another simple way would be to just add for instance a Console project to your solution, add the DLL project to References and then start that program. If you don't use Visual Studio, and your IDE doesn't support the first method described above, you could still use the second method for debugging. Good luck!
Yes, we can do that, But my requirment is that i already had a framework and this is the dll which i want to load, So i want to debug the dll without having .cs file . What i has is just an pdb and .dll file. I am able to launch the VS Debugger then how to give thw code to debug, thats the problem ?
-
Nyanoba wrote:
Here i can launch the Debugger but how to give the Code path and Code because all what i has the Dll's...,
Do you have the code base with which the dll was built?
You talk about Being HUMAN. I have it in my name AnsHUMAN
-
Yes, we can do that, But my requirment is that i already had a framework and this is the dll which i want to load, So i want to debug the dll without having .cs file . What i has is just an pdb and .dll file. I am able to launch the VS Debugger then how to give thw code to debug, thats the problem ?
I don't get it, do you want to debug a dll without an executable?
//daniel