zend studio xdebug profiling button is unclickable - xdebug

Windows+php+apache
debugging works except profiling. The "profile" btn. is clickable when choosing zend debugger as the debugger server but, turn gray and unclickable when choose xdebug. Does zend studio support xdebug profiling?

ZendStudio does not support profiling with xdebug (only with ZendDebugger)

Related

How to use `dotnet new` template in visual studio 2019?

I installed Visual Studio 2019 GA Released version today.
I installed this template https://github.com/Dotnet-Boxed/Templates via dotnet new command line
I then can use the dotnet new to create a project from command line.
However, the installed template does not show in this windows in Visual Studio 2019.
What the point of putting the link to install a new template from CLI but not listing new installed template in the UI?
Is this a bug or actually a missing feature?
https://devblogs.microsoft.com/dotnet/net-cli-templates-in-visual-studio/
in this post you can see how to enable .net core cli project templates in VS2019
Starting in Visual Studio 16.8 Preview 2 we’ve enabled a preview feature that you can turn on that enables all templates that are installed via CLI to now show as options in Visual Studio as well. To enable this option visit the Preview Features options in the Tools…Options menu and look for the “Show all .NET Core templates in the New Project dialog” (we’re awesome at naming) checkbox and check it:
After enabling you need to restart the Visual Studio instance to get this capability. After restarting and choosing to create a new project you’ll see some slight differences in the experience.
This is a missing feature that is still being actively planned and developed. Look for it sometime in the .NET Core 3 timeframe.

Where can I download WPF Performance Suite for Windows 8

The WPF Performance Suite is described here:
http://msdn.microsoft.com/en-us/library/aa969767.aspx#installing_the_wpf_performance_suite
-> how can I install it on Windows 8?
(the Windows 7 SDK can't be installed and the Windows 8 SDK contains Performance tools such as GPUView but not the WPF profilers "Perforator" and "Visual Profiler".
I googled several hours for it but didn't find anything.
Ok, I have it running under Windows 8, but afaik only for framework 4.
Download the tools (link borrowed from Athari above)
Install and it test. Select visual profiler and attach to a process. If it doesn't appear to work, download this patch from MS.
After installing the patch I now have it working again. This is on Windows 8 pro running on a Dell XPS 17 i7 based machine.
it comes as a pack of Windows Performance Toolkit (WPT) v5 for Windows 8
http://social.msdn.microsoft.com/Forums/en-US/wptkv5/thread/090ed47a-f253-4c5a-8dc8-a7923e839815
here is the download
http://www.microsoft.com/en-us/download/details.aspx?id=30652
I managed to get everything downloaded and working under Windows 10 with a .NET 4.5 WPF app.
Follow instructions from Microsoft at Where to Download WPF Performance Suite? (Perforator, Visual Profiler). You need to install both the app, and its timezone patch.
You must run the WPF profile app before you run the target app.
Try running the target app as Administrator. It needs elevated privileges, or else it will not appear in the Select Process dialog.
If you cannot run the target app as Administrator, then you can still use
Actions..Launch Process to launch it.
Visual Studio 2015 comes with "Timeline", which by my estimation roughly provides the same features as Visual profiler. It can profile WPF on .net4+, including 4.5, 4.6.
It can be started by
To profile a WPF application in Visual Studio 2015 CTP 5, open the Performance and Diagnostics hub from the Debug -> Start Diagnostic Tools Without Debugging (ALT+F2) menu. Select the Application Timeline tool and click Start (You can also run the CPU Usage tool alongside the Application Timeline tool).
(Source: https://blogs.msdn.microsoft.com/wpf/2015/01/16/new-ui-performance-analysis-tool-for-wpf-applications/)

unable to find a version of silverlight developer runtime installed

In the following environment:
-VS2012
-Windows 7 64bit
-Microsoft Silverlight 5 SDK
I have created a few lightswitch applications in VS2012 but I am running into an error when attempting to create a new one or open an existing lightswitch project. I receive a pop-up that says "unable to find a version of silverlight developer runtime installed".
There is a link on the pop-up which starts a download but after downloading it, I still receive the same error.
I was able to fix the issue by doing the following :
I went into "Uninstall a program" and noticed that I had 4 different Silverlight related items installed.
Microsoft Silverlight
Microsoft Silverlight SDK3
Microsoft Silverlight SDK4
Microsoft Silverlight SDK5
I just uninstalled the first item, "Microsoft Silverlight" then reinstalled the appropriate (32 or 64 bit) Microsoft Silverlight SDK5 from the following link: http://www.silverlight.net/downloads .
Don't use the link that is given in VS 2012. Doesn't work.
I have a slight different solution for Visual Studio 2010. After uninstall the current Silverlight Runtime, I got it to work if I download it from Visual Studio suggested url.
The best way I have found to find the most current Silverlight 5 Developer Runtime or End-User Runtime, is to search the downloads for the latest Silverlight bits. All other suggestions seem to take you on a wild goose chase depending on what version of Visual Studio or OS you are using.
Search Microsoft Downloads
Just look for the latest "Security Update for Microsoft Silverlight" entry.
The Silverlight Security Update KB2890788 is what fixed it for me, after trying uninstall and re-install without success.

Silverlight not loading

I tried installing silverlight 5 developer runtime but sadly things ended up being a big mess leaving my vs2010 having "catastrophic error" everytime i'm in design view.
I removed everything silverlight related (or think i did. There are no other silverlight toolkits or runtimes installed on the uninstall list).
Now I browsed to a silverligt app and the "get silverlight" link appears and I downloaded and installed the runtime but the silverlight won't load now (no loading icon and the page is just blank). I checked the app on a different pc and it loads fine.
I've tried both 32 and 64 bit runtime (silverlight 5 is the latest afaik) and tried both versions of IE and chrome. I'm on a 64bit win 7 ultimate and vs2010 ultimate. What am i missing?
Fixed. What I did was:
uninstall every silverlight related programs installed (blend, silverlight toolkits, developer and user runtime)
ran CCleaner to get rid of unnecessary entries in the registry.
repaired/reinstalled Visual Studio (don't need to uninstall this).
then re-install the necessary silverlight sdks and runtimes.

what is silverlight developer runtime ? and why we need it?

I want to know more in detail about th developer runtime of silverlight
what is silverlight developer runtime ? and why we need it ?
The developer runtime is a special debugging version of the browser Silverlight plugin. It replaces the release version you would normally install in your browser.
You need it so Visual Studio can debug your Silverlight applications.
Please note that occasionally Silverlight prompts for upgrades. You must not upgrade via a web browser or you will replace your developer runtime with the retail/release version. You want to look for a more recent developer runtime release instead
The developer runtime is needed to be able to debug the Silverlight applications using Visual Studio.

Resources