Debugging is a methodical process of finding and reducing the number of bugs, or defects, in a computer program or a piece of electronic hardware, thus making it behave as expected.

learn more… | top users | synonyms (1)

0
votes
1answer
322 views

Expiration Policy Job - debugging

I am trying to find out what error is preventing our Expiration Policy timer job from completing. It is scheduled daily about 10PM. Sometimes when I come in in the morning it is Aborted, sometimes ...
15
votes
2answers
2k views

Can't start debugging after install VS11

After I installed VS11 Dev Preview, VS2010 cannot start debugging the Sharepoint 2010 server (developer install on Windows 7). I get a nice error dialog stating: Unable to start debugging on the ...
3
votes
2answers
235 views

Is it possible to debug the DLL of a built in _layouts application page?

I'm getting a vague error (as below) on the built-in _layouts/ChangeFieldOrder.aspx page which uses the DLL "Microsoft.SharePoint.ApplicationPages". "Object reference not set to an instance of an ...
2
votes
2answers
632 views

How do I debug a code-behind page in the Central Administration site

I built a custom timer job and created a configuration page (.aspx) for it. Going through the Central Administration site, I can get the to configuration page. When I enter values and click "OK" to ...
1
vote
2answers
3k views

The breakpoint will not currently be hit - debuging feature receiver

I need to debug my feature receiver, so I set up few breakpoints, but when I hit F5 in VS2010, they are all missed, and it says that "The breakpoint will not currently be hit. No symbols have been ...
2
votes
1answer
1k views

How to load a sharePoint page in “safe mode”?

I seem to remember that there was a way to add something to the query string for a SharePoint page that would basically load the page in a "safe mode". In this mode you could delete or edit webparts. ...
1
vote
2answers
671 views

SharePoint very slow at Logging Correlation Data step in page trace

wondering if I configured something wrong. I just installed SharePoint on my laptop and it's running very slowly. It seems to be stuck at the Logging Correlation Data step. What exactly does this ...
0
votes
1answer
79 views

call method in webpart

I'm trying to debug the code below. For some reason the GetUserProperties Method isn't called during debug. Can someone tell me how i'm able to call it? I wan't to display the user-properties in an ...
3
votes
2answers
2k views

Debugging SPFeatureReceiver

I have built an SPFeatureReceiver and am trying to debug it by attaching to the w3wp.exe process. No matter what I do no breakpoints are ever hit. Here are my steps Build and Package the solution ...
4
votes
3answers
6k views

How to get a web.config file in a sharepoint 2010 publishing site?

I am working on a sharepoint 2010 project and I noticed in the soultion their is no web.config. I asked one of my fellow co-workers and he mentioned something about we don't have access to to it as ...
2
votes
3answers
247 views

View callstack of unknown error

I've set <system.web> <customErrors mode="Off" /> </system.web> in my web.config file, but i'm still getting 'unknown error' instead of the stacktrace on my pages. How can I ...
0
votes
2answers
1k views

debug javascript [closed]

I have a javascript thats breaking. Now Is there a way i can call the function from content editor web part and debug to see where the hick up is?
2
votes
2answers
755 views

Does anyone have ELMAH working with SharePoint?

Does anyone have ELMAH working with SharePoint 2010? I have the assembly in the bin folder and have what I believe to be the correct entries in the web.config file. I can run the test at ...
1
vote
1answer
239 views

Debugger stops during debug session

I have a SharePoint 2010 site deployed using Visual Studio 2010. An application page on the site contains an ascx control that includes a FileUpload control. When I am attached to the W3WP process and ...
0
votes
2answers
407 views

Can't load break points for a feature reciever - what's wrong?

I've set a break point in my feature receiver, but symbols never load and break points never met, what can I do to resolve this?
0
votes
1answer
161 views

Can a sharepoint security patch automatically upgrade your sharepoint installation.

Can a sharepoint security patch automatically upgrade your sharepoint installation. Recently my company experienced an outage after installing a bunch of Microsoft Security patches and automatic ...
0
votes
2answers
4k views

How to figure out why I'm getting “HttpCompileException was unhandled by user code”?

I am brand new to SharePoint, SharePoint development, and MS development. My SharePoint dev environment consists of Windows 2008, SharePoint 2010, and Visual Studio 2010. I created a very simple ...
2
votes
4answers
2k views

Debugging Feature Activation Trouble Attaching to W3WP.exe

I am using vs.net 2010 and having trouble debugging a feature activation. I have tried rebooting, reattaching etc. I have attached to w3wp processes (and vshost if it is available) and yet the debug ...
1
vote
3answers
273 views

Debug Web Parts

I am studing this topic and I would like somebody to point me in the right direction for studying this. Debug Web Parts This objective may include but is not limited to: ULS log, and event log, ...
2
votes
0answers
1k views

Debugging XSLT in Visual Studio 2010 [closed]

I'm trying to debug XSLT for CQWP. I followed this guide. So I'm able to retrieve the XML, and link the files temporarily together using xsl:import. But then Visual Studio can't find the schema for ...
1
vote
1answer
2k views

Deploy event receiver to sandboxed solution

I am working with Sharepoint Foundation 2010 on both my development and production machines. My production site is hosted. I am trying to deploy a sandboxed event receiver to the production site ...
4
votes
4answers
2k views

What techniques do you use to debug/test your SharePoint Timer Jobs?

I have developed a number of SharePoint Timer Jobs and they are always a bit more painful to debug and test than other areas of SharePoint. I was wondering what tools/techniques other people use to ...
0
votes
1answer
83 views

64 bit vs. 32 bit - Significantly longer time to attach the debugger

Since switching to a 64-bit dev environment on Sharepoint 2007, I've noticed it takes orders or magnitude longer to attach the Visual Studio debugger to the OOTB SharePoint assemblies and my custom ...