Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [debugging]

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.

1
vote
1answer
24 views

SPO: User with hyphen in name not showing up in People Search

I'm in SharePoint Online. If I search for a user under Everything, then she shows up at the top under "People named .." and clicking the link takes me to her profile. If I go to the People tab and ...
0
votes
0answers
16 views

debugging SharePoint JSOM, client side code in the F12

though its not a programming question,i would like to know how to debug the SharePoint code that's written in JSOM, REST API,or spservices. i tried to put console.log etc etc for the values spweb , ...
1
vote
0answers
34 views

Cannot debug Provider-Hosted Add-In: VS2017 hangs opening Chrome (resolved)

Update: Resolved (hope so). Maybe this is a bug and upgrade VS2017 to to 15.7.6 helps. I close my Chrome every time before f5 -- Every How-to for beginners in the net say "Hit F5 and voila!" - but ...
0
votes
0answers
24 views

Possible ways of debugging the “The workflow could not update the item..” error in SharePoint Designer's workflow

I know that questions related the "The workflow could not update the item, possibly because one or more columns for the item require a different type of information." error message have been asked ...
0
votes
0answers
41 views

Debugging React components in spfx client side webparts

How can I step through my .tsx code file line by line? Either using Google Chromes developer tools or Visual studio code the debugger steps into internal Typescript/JavaScript libraries? It becomes ...
1
vote
1answer
204 views

sharepoint framework extensions: sorry something went wrong

I am trying to learn SharePoint Framework Extensions and this is my first try. I created an application customer following the example in pluralsight. When I try to add the app, I get the error: Sorry,...
0
votes
1answer
98 views

debugging sharepoint webpart without visual studio debugging

SharePoint debugging with visual studio stop the site. I'm looking for a way to debugging SharePoint Webpart with out stopping the SharePoint site.
1
vote
1answer
282 views

Visual Studio crash during debugging Add-In application

I'm develop provided-hosted app (MVC) in SharePoint Online. I've installed Visual Studio Community 2017. Unfortunately, when I try to debug and install Add-In, Visual Studio freeze and not responding. ...
0
votes
1answer
99 views

Debug Feature Receiver Webapplication Scope

I'm using SharePoint 2013, VS 2015, I want to Debug my Feature Activated Receiver which is WebApplication Scoped. When I attach w3p or OWSTIMER processes the Feature doesn't show up in Central ...
1
vote
1answer
94 views

how to load SharePoint default .js file manually in master page?

I have created SharePoint calendar list and added it to my custom page (with the custom master page).some time sp.ui.applicationpages.calendar.debug.js not loaded in IOS mobiles(also not loaded in ...
0
votes
2answers
79 views

Menu heading unclickable after a while from site load

Here is my problem: In sharepoint menu, headings are unclickable on one of the sites. When i checked site code, it seems that the working sites have href in given menu item, in problematic site they ...
4
votes
2answers
141 views

Debug SharePoint Solution

I'm confused which w3wp service should i choose to debug SP solution, what's the purpose of other services
1
vote
1answer
39 views

Packaged/Shipped version adds : to data ?? Workbenches are fine

when I run my SPFx webpart solution in the local- or hosted- Workbench, everything seems OK. The data received from lists is displayed correctly, e.g. Freddy, Prayer request, Prayer for money, Food ...
1
vote
1answer
714 views

How to debug SPFX Web part in visual studio code ?

I am trying to find a way to debug my local SPFx workbench from Visual Studio Code, For this have installed the "skritt-debugger" and the launch.json Look Like this "configurations": [{ "...
1
vote
1answer
26 views

Can't find Sharepoint timerjob service among process to attach

I would like to attach Visual Studio to OWSTIMER service to debug the execution of a sharepoint timer job, but the service stopped to appear among services to attach in Visual Studio. Any idea why ? ...
2
votes
1answer
44 views

SharePoint 2010 - WebParts only working when debugging

So basically here's my question, I got a SharePoint 2010 website working with some web parts but the web parts only work when I'm debugging the project, when I'm not it just says that the web part ...
1
vote
2answers
288 views

Debug SharePoint powershell

I create a new file in powershell ISE, it's run perfectly but I face  a bit issue I can't add break point Am I doing things wrongly !?
1
vote
1answer
116 views

Debugging SP solution on different server

Can we debug a SP 2010/2013 custom solution like Visual Web Part on a different SharePoint site which is not available on local machine but on a different SharePoint server? I tried to put a site as ...
0
votes
1answer
27 views

Debug multiple projects

I've got an issue when I want to debug two projects. When I attach one of project to all Sharepoint process, VS hits correctly my breakpoints. But when I want to attach a second project, it doesn't ...
2
votes
0answers
149 views

Better Debugging for Sharepoint 2013 and Visual Studio 2015 [closed]

I am new to Sharepoint. I have used asp.net mvc the last 5 years and Web Forms the 7 years prior. ANY HELP is greatly appreciated in helping me get up to speed with Sharepoint development. I just ...
0
votes
1answer
42 views

What exactly has to be done on a SharePoint 2013 Installation to allow F5 - debugging for provider hosted AddIns?

I have a provider hosted App I want to (F5)-Debug directly on a SharePoint 2013 Installation on a different server. The Admins asked me what has to be done on the farm so they can decide if it even ...
0
votes
0answers
104 views

Debug SPJobDefinition not working

I have an eventreceiver feature that I want to debug, I followed those steps with no luck: I deploy my solution ,(configuration manager = Debug) I restart SharePoint 2010 Timer service IIS reset ...
0
votes
1answer
2k views

Unable to Debug Event Receiver

I have create custom content type using that content type I have created list in site. Now trying to develop event receiver on list item events. but now I'm unable to debug the code . Updated ...
1
vote
2answers
241 views

How to display a string in client browser console using c#?

Let's assume I have a C# file in my SP2010 application and I want to display a message in the browser console. using System; using System.Collections.Generic; ... public class WhatEver{ // some ...
4
votes
3answers
391 views

SharePoint 2013 not displaying Correlation ID when there is some error. Always displays a Runtime error page

One of my client's SharePoint 2013 site always displays the Runtime Error screen if there is some error instead of the "Sorry Something went wrong." page with the correlation ID. This makes it ...
0
votes
1answer
87 views

Debugging Timer Jobs

It has been awhile since I tried to debug a timer job; the last time was on SP2010. I have a job that updates some values in a list and I want to debug the code. I am attaching to OWSTIMER.EXE and I ...
2
votes
2answers
8k views

Failed on Start (Workflow was canceled by System Account.)

When I add an "if condition" to my working workflow, It doesn't work anymore and gives error: "Failed to Start". (Workflow was canceled by System Account.) My "if condition" is in below image framed ...
2
votes
1answer
2k views

Remotely debug Provider Hosted App from Visual Studio 2015

I have created a SharePoint Provider hosted App on Azure. I need to debug it now. I have enabled remote debugging from the Azure Portal. But when I try to debug it from Visual Studio, I get the ...
0
votes
1answer
895 views

How to add a button to a document library

So I want to add a button to a document library next to the other buttons (new, upload, sync, more) that acts as a link to take you to a page related to the document library. I have already put a ...
1
vote
0answers
68 views

SharePoint hosted app development, Less/Typescript and side-loading

I am doing some technology test for developing SharePoint hosted apps using Visual Studio 2013 in my SharePoint 2013 development environment. For that reason, I am trying to see how far I can push ...
0
votes
1answer
138 views

Sharepoint app, missing styles and images when debug

Trying to run a simple Sharepoint 2013 App in Visual Studio (however, the same thing happens with all Sharepoint-store installed apps). I have set a url http://sharepointsrv/sites/devtest/ as the site ...
1
vote
4answers
1k views

Could not load the Web.config configuration file. The given key was not present in the dictionary.

I'm trying to launch debugging on Visual Studio 2012 and it shows me this error message : By googling a little bit, I read that I should remove the 10 directory located in : C:/users/username/...
1
vote
3answers
431 views

Unable to debug TimerJob in Visual Studio 2012

I have create a timer job and deployed in SharePoint 2013. Debugging worked fine couple of times. After retract and redeploy couple of times. Now while attaching to OWSTIMER getting below error. ...
2
votes
1answer
318 views

How to debug a class library on a SharePoint 2013 Server?

I am learning to create a forms-based authentication for claims-based web application using custom membership and role provider based on the [msdn][1] link I will be building a class library to ...
1
vote
2answers
1k views

Unable to debug SPListEventReceiver

Running VS and SharePoint on the same server, but I am unable to debug my simple Event Receiver to see why it is not firing. Here is the snipp: public class EventReceiver1 : SPListEventReceiver { ...
1
vote
1answer
176 views

Any recommendations for SharePoint Online PowerShell Debugging Tools

I just discovered code.visualstudio.com, which even has intellisense for PowerShell scripts. Debugging those scripts, especially when the target is SharePoint Online, is a different matter. Does ...
0
votes
2answers
78 views

Debugging an SP Feature in production

I have developed an SP Feature in C# and tested in development environment, confirming it is functioning correctly. When I publish to production and enable on a site, I just get a single line in the ...
1
vote
1answer
322 views

Default SPEmailEventReceiver: Object reference not set to an instance of an object

I'm trying to write a new Email Event Receiver for an email-enabled document library. When my feature is disabled, email is delivered successfully to the library. When my feature is enabled, this ...
0
votes
1answer
133 views

Can't debug SharePoint 2010 on a SP 2010 farm environment

I'm told I can't debug on a farm environment - one admin server, one web server, one SQL database, all separate boxes. But it seems like something you'd need to be able to do, so I'm looking for ...
0
votes
2answers
35 views

Objects deployed at debug remain after debug stopped

I'm at my first developement in Sharepoint. I'm using VS2013 Ultimate with Sharepoint Foundation 2013 on a Windows 2008 R2. I started creating a custom list and some site columns. The first debug runs ...
7
votes
2answers
2k views

Debugging remote event receiver - no context token

I am trying to use the MS supplied BasicDataOperations provider hosted app to play around with and learn about remote event receivers. I was following the instructions from this blog post by Chris O'...
0
votes
0answers
106 views

Failed to attach to debugger

I am working on a project in visual studio, and unable to attach w3wp process in visual studio, it's showing me that the attach was right, so the red circle appears solid, but when I refresh the page, ...
0
votes
2answers
1k views

How to debug a solution in visual studio without deploying it

I'm running: Visual Studio 2013, Sharepoint 2013 and Microsoft SQL server 2012. I'm a beginer and I would like to know how to use the debug tool properly. I'm trying to debug my solution in visual ...
2
votes
1answer
786 views

Debug FeatureUpgrading

Trying to debug FeatureUpgrading event receiver on Sharepoint 2013. Attached localy to all w3wp.exe processes. After run $MyFeature.Upgrade($true) feature get upgraded, but breakpoint inside ...
2
votes
2answers
7k views

FileNotFoundException :<nativehr>0x80070002</nativehr><nativestack></nativestack>

Error related to System.IO.FileNotFoundException. Trying to get Survey 1, Survey 2 from Custom list Survey with 2 Columns: Title Url - Contains URL of Survey 1 or Survey 2 Custom Survey list ...
1
vote
1answer
91 views

How to tackle error raised in 1 WFE out of 3 WFE?

Someone had asked this question but proper answer is not known, can anyone say what will be the proper answer for this? We have a SharePoint application spread on 3 WFE server. Now one component is ...
1
vote
1answer
99 views

Sending debug messages in sequential workflow

I'm trying to send messages to the workflow history of a workflow at some point after the workflow starts, based on a condition. There are some values in the code I would like to verify as the ...
0
votes
2answers
74 views

Sharepoint debugger process

Let's say I have a SharePoint web application running in my local machine. I want to debug a visual web part so that I can check what's wrong with my code. To start debugging I usually do the ...
0
votes
3answers
636 views

How to debug Napa SharePoint app

I've made a simple app in "Napa" Office 365 Development Tools. It's a SharePoint app that returns the current site lists. This is the rest call: site + /_api/web/lists When i debug this app it ...
1
vote
3answers
3k views

Breakpoints not hitting as 'no symbols loaded'. Visual Studio 2012 c#

I'm attempting to debug an event handler and on the breakpoint I get the message that no symbols have been loaded when attaching to process. Is there any way I can figure out why this is? The ...