Gustavo
Guest
|
Posted:
Tue Oct 25, 2005 12:51 pm Post subject:
RE: Is debugging of webparts during runtime possible? |
|
|
Hi Jan,
In theory, it is possible to remote debug WebParts at the same way as any
other DotNet Web dll application. You need to compile it as "Debug", put the
".pdb" file together with the ".dll" file, install some software in the
server to activate Remote Debugging, and say some prayers to your favorite
God, because it will be a wonder if it works... Microsoft can say what they
like to say, but Remote Debugging does not work...
Anyway, if it by chance works, you need to be aware that the process in the
server will be stopped as long as you are debugging in VisualStudio, thus
don't do it in a production server.
Saludes,
Gustavo
http://www.gavd.net/servers/default.aspx
"Jan Rösner" wrote:
| Quote: | Hi All,
I am developing a webpart and I wonder how I could debug the code while the
webpart is executed. I can attach the w3wp.exe-process on my remote
spp-server in Visual Studio.
BUT I cannot imagine how VS.NET should now debug the webpart which I have
deployed with stsadm -o addwppack ... on the spp-server. Is this really
possible???
I am building my webpart in VS.NET AND THEN I manually install it with
stsadm on the spp-server AND THEN I add the webpart on a spp-page and
display the page.
A) Is there a way to step into the code WHILE the webpart is displayed so
that I can debug the webpart during runtime? How to do this?
B) Do I have to adjust any settings in "Project properties"-->"Configuration
Properties"-->"Start-URL" (enter something like
http://server/areaThatContainsMyWebpartThatShouldBeDebuggedDuringRuntime ??)
I would really appreciate any help! Thanks in advance and best regards,
jan
|
|
|