VS 2013 - Symbols are not loading on Attach to Process with Chrome - visual-studio-debugging

I am trying to use "Attach to Process" feature of VS 2013 with chrome. My website is hosted on IIS on local machine. I am not able to debug as symbols are not getting loaded in server side. If I run using F5 then debugging goes smooth.
Message is "The breakpoint will not currently hit. No symbols have loaded for this document".
Please suggest!!

Related

Visual Studio 2017 UWP Apps crash

I have just installed Visual Studio 2017 Ent on Windows 10 (Creators update patch level)
After the installation UWP apps that I have developped no longer start. They crash with this error:
"Unable to activate Windows Store app. The xzy.exe process started, but the activation request failed with error 'The app didn't start'"
Event creating a new project with a blank UWP application produces the same error.
The failure happens before the App.xaml.cs init is called.
Has anyone else ancountered this issue, and if so - how was ti resolved?
Edit: after further testing - it woudl appear that apps installed through Windows App Store work ok. Any side loaded apps fail.
I have managed to resolevd the issue by reinstalling the Microsoft.NET.CoreRuntime.1.1.appx and Microsoft.VCLibs.x64.Debug.14.00.appx dependencies from the app packages folder. Hope this will save someone some time.

Selenium tests with WebDriver and Visual Studio Online

I'd like to run a number of Selenium tests as a part of my product's Contionous Integration mechanism. We're using Visual Studio Online.
I've tried using IE WebDriver and it could not connect to my resources. I've tried deploying portable versio of Firefox and tests appear to be stuck - I'm guessing that there is a firewall prompt happening?
I've tried PhantomJs web driver, but that does not appear to properly render the test page at all (unless I'm doing something completely wrong)...
so... is it even possible to run Selenium based browser tests from Visual Studio Online build servers?
It appears that this is currently not supported by the hosted build controller. The way to do it is to set up a remote build controller and connect it with your visualstudio.com account. I haven't tried this out yet but here's instructions on how to do it with an Azure machine: http://erictummers.wordpress.com/2014/02/12/run-selenium-from-visualstudio-com/

DotNetNuke ControlBar not showing

Windows Server 2008 R2
IIS 7.5
DNN 7.2.1
Application Pool - .NET Framework Version = v4.0
After fresh install I get the problem when ControlBar is showing like this in IE10:
and does not respond to any actions.
And Google Chrome shows the website like:
Start by checking to see why your IIS site isn't serving up STATIC Files. Looks like your CSS and Images aren't loading.
Also, make sure the site is not running in Compatibility Mode or you didn't accidentally place the site on the Compatibility list.
You can also try hitting F12, going to the Network tab and refreshing the site. This will let you see if any resources (css/js) aren't getting loaded (404).

Google App Engine local instance started from Eclipse does not stop

I recently started building applications on Google App Engine. I use an Eclipse plugin to start and stop the server and deploy applications to run on Google App Engine.
I had created a new project and tried to stop and start it as suggested in the tutorials and in Stack Overflow. My old project is still running and hitting the data source successfully. I even removed the old projects from my Eclipse workspace and tried a fresh deploy of the new project with no luck.
How do I stop the server (the RED dot in my Eclipse has no effect)? Is uninstalling the App Engine the only solution?
When you launch the server, a new Java process is started. You can find and kill it independently of Eclipse.
I too ran into this problem and found the solution at Stop or restart a previously started Google App Engine local server in Eclipse
Just in case the link breaks, the key steps are:
In Eclipse, find the Eclipse Console view (looks like below).
Select the arrow next to the small computer and find the server's name
Select the red square to stop the server
Go to http://localhost:8888 to see if the page is still showing (it shouldn't be)
If you are visiting something like http://yourAppId.appspot.com and the server is still running, that's because it's still deployed on App Engine, not locally. In this case, go to Google Developer's Console and stop the service there
The server can be stopped by clicking red square icon in the console window. If this icon is missing or disabled, you may see wrong console window. You must select the javaw console using the drop-down button on the far right of the console window.
Go to Run/Debug Configurations -> Select your project configuration -> Common tab -> Uncheck "Launch in background"
Now, when you terminate the server on Server's console, it will stops the server.

How silverlight code gets debugged

As an .xap file is added in the web project which runs at client side, then can anyone please explain how are we able to debug the silverlight client side code?
If you are running the web server built into Visual Studio then Visual Studio is both hosting the web server and running the web client. This means you are able to debug both the client and server side code.
If you are using IIS to serve the site then you are still running the web client within Visual Studio.
As long has you have the "Debuggers" option set on the web project you will be able to set break points and step through the code.
In the web project properties, under ‘web’ tab all way at the bottom, there is a group called ‘Debuggers’, make sure you have Silverlight check box is checked. By checking the Silverlight check box you will be able to debug the client side code.

Resources