glimpse

Specifying documents directory as file output URL while working with Glimpse in Swift

为君一笑 提交于 2019-12-11 17:19:33
问题 I'm using Glimpse to record the contents of a UIView so it can save it to a file in the documents directory. I'm having trouble specifying a URL for the file output in the g.startRecording line in viewDidLoad. I'd like to have the return value from getDocumentsDirectory() set as the URL but placing the method name as the parameter does not work. I have also tried to use documentsDirectory and this does not work either and results in "Ambiguous use of 'startRecording" I am using Swift here is

Glimpse Configuration - ambiguous resource

别说谁变了你拦得住时间么 提交于 2019-12-11 13:10:30
问题 I try to get running Glimpse in my MVC4 website but i am getting error: Ambiguous resource with name 'glimpse_config' found. when i run /Glimpse.axd. I configured it as the documention says. I also tried to remove and reinstall it without success. I turned logging on and it says: 2013-04-08 10:42:08.5762 | WARN | Multiple Resources with name of 'glimpse_ajax'. Resources should have unique names. | 2013-04-08 10:42:08.5762 | WARN | Multiple Resources with name of 'glimpse_client'. Resources

Exception thrown when using Glimpse and Postal

不打扰是莪最后的温柔 提交于 2019-12-11 12:43:20
问题 I'm just starting to use Glimpse with my MVC5 project and have run into an issue when I use Postal to send an email without disabling Glimpse. I've been able to narrow it down to an issue with both packages - it doesn't occur if the Glimpse cookie has not been turned on. In Fiddler, I checked the difference between the two. When it threw the exception, the cookie was glimpsePolicy=On when it worked (Glimpse was off) there were two cookies glimpseId=FBar; glimpsePolicy= The exception I get is

Trying to understand why I am getting a time delay of 2 seconds post get and pre Action, found with Glimpse

▼魔方 西西 提交于 2019-12-11 07:39:33
问题 I am using MVC3, ASP.NET4.5, EF5, C#, Razor, SQL Server 2008 R2. I am analysing an Action which does some DML via LINQ and EF. No real issues, takes about 1 second. I am using Glimpse to monitor the application. However I notice that Server time is 3 seconds, and the controller Action time is 1 second, so 2 seconds are going missing. It is as if it is taking 2 seconds to instantiate the Controller class etc. The application is warmed up. Here are the screenshots: and here: So summary of

Glimpse MVC3 DLL being 'forgotten' as part of Application Pool recycle

南笙酒味 提交于 2019-12-11 02:26:25
问题 We're trying to get Glimpse up and running in our environment but coming across a strange problem. We've installed Glimpse.Core, Glimpse.AspNet, and Glimpse.Mvc3.dll and when we configure web.config to enable Glimpse everything works fine until the Application Pool recycles . Once the AppPool recycles, it's as if the site 'forgets' about Glimpse.Mvc3.dll and the Mvc3 tabs (Execution, Model, Metadata) disappear. Here are the steps (for us) to reproduce: Modify web.config to include Glimpse

Glimpse for MVC3 module not found after NuGet install of Glimpse.MVC3

血红的双手。 提交于 2019-12-11 02:09:55
问题 I just added Glimpse.MVC3 to an MVC3 app I'm battling to deploy to IIS / debug on IIS (7.5), but when I try to activate it via Glimpse.axd, I get a 404 not found. I am appending the url to my route, and no longer attempting it as an absolute url 回答1: Look through this: http://getglimpse.com/Help/Configuration In web.config make sure it is enabled <glimpse enabled="true" loggingEnabled="true" requestLimit="15"> IP Addresses ... <ipAddresses> <add address="127.0.0.1" /> <add address="192.168

Is there any documentation on how to use Glimpse with F# and Suave? [closed]

杀马特。学长 韩版系。学妹 提交于 2019-12-10 18:23:30
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 3 years ago . I am trying to see if there are any instructions/documentation on how to use Glimpse in an F# project? I looked through the list of adapters they have on their website and I didn't see anything specific to F#. They have ones for ASP.NET MVC and EF but if you using something like Suave (https:/

How do I get Timeline data from Glimpse for reporting?

99封情书 提交于 2019-12-10 17:39:21
问题 I am using Glimpse with MVC4, I would like to capture timeline tab data of Glimpse and store it in a DB or File for reporting purposes. 回答1: There are several ways to do this, but I'll provide you with the answer that gives you the highest level of granularity, which has also been covered on Scott Hanselman's blog. Hanselman shows how to create the following IInspector implementation: using Glimpse.Core.Extensibility; using Glimpse.Core.Message; public class TimelineTracer : IInspector {

Profiling asp.net core 2 (web api) with angular 5

一曲冷凌霜 提交于 2019-12-10 17:12:41
问题 I am looking for Profiling solutions for following environment, could someone suggest please. ASP.NET Core 2 on net471 EntityFramework 6.2.0 Angular 5.0.0 I looked into MiniProfiler & Glimpse . Glimpse has not been upgraded for Core 2.0 yet. MiniProfiler works with Core 2 but does not work properly for SPA. Someone has tried to extend http of Angular 2 but Angular 5 now uses HttpClient & interceptor I think. Also I could not figure out how to profile DataContext (System.Data.Linq) for SQL

Glimpse shows Duplicate EF queries

元气小坏坏 提交于 2019-12-10 15:16:20
问题 I'm having problems with my MVC 4 application running too slowly. I installed Glimpse to profile the application. I think I've found part of the problem: many of my EF queries appear to be running twice! Here's my HomeController that is pulling some alerts: [HttpGet] public virtual ActionResult Index() { var reportStart = DateTime.Today; var reportEnd = DateTime.Today.AddMonths(1); var query = _tameUow.Alerts .FindBy(a => a.ApprovalStatusId == (int)AlertApprovalStatusCodes.Approved && (a