trace

How to get javascript call trace of a webpage

Can someone tell me how I can get a call trace between different javascripts? Suppose I have an html page that loads some javascript files, which in turn may load other javascript files from the server. Is there a way that I can trace which js page is loaded from what other js pages? I've used google chrome speed tracer extension, and...

Best Practice Instrumenting a Webpage when having parallel tasks

I try to get an understanding of the performance of a web page and use Trace.Write Problem is that I use Parallel.Invoke and starts more threads where I would like to report back using Trace.Write Parallel.Invoke(() => Chart1AndLegend(param), () => Chart2(param), () => Chart3(param), ...

How do you debug (trace execution) of a pylons web application?

How do you debug (trace execution) of a pylons web application? (using a mac with textmate) ...

Oracle SQL trace with bind variables

How to aquire the full SQL statement with bind variables substituted from a trace file? When setting ALTER SESSION SET EVENTS '10046 trace name context forever, level 4'; ALTER SESSION SET sql_trace = true; the resulting trace file contains the SQL query with bind variables and the resolution of the bind variables in a separate "BIND...

Which is better multiple filtered traces or one trace on SQL Server 2000?

I have a requirement to identify Active databases on a SQL Server 2000 cluster. There are 295 databases but the field has been narrowed to 60 databases that we are unsure if they are still in use. I intend to use SQL Trace [sp_trace_create] and the Audit Login event to identify which databases are still in use. My question is should I...

What is the most efficient way to make this code thread safe?

Some C++ library I'm working on features a simple tracing mechanism which can be activated to generate log files showing which functions were called and what arguments were passed. It basically boils down to a TRACE macro being spilled all over the source of the library, and the macro expands to something like this: typedef void(*TraceP...

How to enable partial loading in Service Trace Viewer for files < 40 mb

I'm currently trying to load a 32MB trace file in the Service Trace Viewer tool, but performance is dreadful. At this pace it will take about half an hour to process. Something that I think should be prevented by partial loading. Microsoft says the following on the matter: You do not need to manually enable partial loading. If the ...

.Net Windows Service and Custom Trace Listeners

I have all of my service logic encapsulated in class library. When I instantiate the class library in a command line app I receive my trace information. When I instantiate the class in a Windows Service, I see that my Custom trace listener has created the logs directory and start a file, but it stays a 0 KB. Both applications have thi...

Last Login Ip of linked in user

Hi, is there a way to get the last login Ip of a certain profile in LINEDIN social networking. There is an API but I`m not very optimistic about that, any links or info would be appreciated. Thanks. Imran ...

How can I see queries that are executed against Oracle ?

Hi, I need to see the queries that are being sent to Oracle to execute them. Can someone give me specific detailed instructions on how to do this ? ...

Is there a way to cross locations of Sainsburys with BP garages to get places where they are together?

I've seen a photo I'd like to trace the location of. In it is a BP garage and a Sainsburys supermarket. Google Maps holds all the info and I'm sure many others do - what I'd like is to be able to quickly do a join-type operation on the data. It would ahve to be proximity limited but if this was using, say, the town name or the first 4 di...

How can i activate --trace-asci debugging with curb/curl for ruby?

Standard curl supports command line option --trace-asci and --trace. Anyone any clues on how to set this option for a Curl::Easy object? ...

preventing "ld -wrap " circular references

I am using GNU ld's "-wrap" option to intercept calls in applications, but have ran into a scenario where the code implementing the wrapper indirectly calls the wrapped function, creating a circular reference. Example The goal is to wrap read calls that occur in Program Foo. This code can be recompiled/relinked, but not modified. Prog...

log4net for NHibernate not writing anything into ASP.NET trace

Odd one this. I am using NHibernate with one website. I have configured log4net to show me all SQL and and errors in the trace. It all works swimmingly. I start using NHibernate in the other website - same solution, built on top of same class libraries. I copy the configuration data in web.config from one website to the other: <sectio...

Why can't I trace just errors on the service side of my WCF?

I have a wcf service that sometimes creates errors like "The InnerException message was 'Maximum number of items that can be serialized or deserialized in an object graph is '65536'". I know how to fix this particular problem, but now I want to create a trace that saves only Errors (and Critical errors) to the log. The problem is that m...

unit test console output

IF I am testing something related to an error, I might want to see the message or stack trace in the console initially. After I'm satisfied with the test I typically do not want to have the console cluttered with anything that might help quickly spot and diagnose a failing test. When refactoring though, it is sometimes useful to once aga...

What is happening during the PreRednerComplete event and why does it take so long to complete?

Please help me understand what is happening in this function when I do a trace on my aspx page that is causing this to take so long. This seems to be an awful long time to me. aspx.page Begin PreRenderComplete 0.247800731846976 0.000022 aspx.page End PreRenderComplete 1.14752565437392 0.899725 ...

Web App Tracing/Debugging

Hi, Can people pls suggest any open source tools that can be used to trace/monitor a persons web activity inorder to determine any code issues for a particular web app? Basically, I have a web app that I have developed and some users are experiencing page stalls and was wondering on what the best way to track down these issues? Thanks...

How to debug JAVASCRIPT events? Or how to make all functions call trace?

Hello everybody! For example there is a button. It is wrapped by <div>. When pressing to this button, there is javascript function call happen, then another function, then calling by ajax to the server and if it's OK, javascript redirecting this page to another page. It's hard to debug. Is it possible to "catch" this event? I.e. to k...

TextWriterTraceListener trace file too large

I am using C# System.Diagnostics.TextWriterTraceListener to print trace. But the trace file becomes too large (hundreds of MBs). I want to change the behavior of TextWriterTraceListener, that if the trace file becomes large, it writes output to another file. For example, the original trace file is 'output1.txt', if it becomes larger th...