Все вопросы: [trace]

139 вопросов

похожие теги: trace-listenerdata-tracingstack-trace
4
голосов
2ответов
6650 просмотров

Trace all method calls in ASP.NET application

I need to trace all method calls in an ASP.NET application for a period of time, say 24 hours, into a log file. Looking for tools that allows me to do this? I'm interested in in getting something like this out: 2009-10-12T13:00:41 MyClass.MyMethod("arg1.toString()", "arg2.toString()") ... othe...

3
голосов
1ответов
6664 просмотров

Windows ETL Trace File Format?

I have a written an ETW provider which is used by my system to log opaque blobs of binary data using the TraceEvent API function. My system is essentially a high throughput event processing system and I want to be able to (cheaply) capture the serialised state of certain objects as they pass thro...

2
голосов
5ответов
6487 просмотров

Process execution tracing tools

I am currently in the process of investigating a very peculiar problem on our lab servers. Whenever we run a java program on a machine with a 64-bit SUSE SLES11 installation that has been accessed with Citrix, it just hangs. I have the latest updates on the machine but it doesn't help. If any of ...

6
голосов
2ответов
7051 просмотров

How can I get T-SQL PRINT statements to come up in SQL Server Profiler Traces?

I'm not very experienced with SQL Server Profiler (2005, 2008). I'd like to print some info to a trace from a stored procedure. PRINT statements don't seem to output to my trace. How can I easily get the PRINT statements to output to the trace? If that's not what trace (or PRINT) is really me...

0
голосов
1ответов
2266 просмотров

How do I trace all request in IIS 6 on Windows Server 2003 SP2?

I found this site from MS: Tracing Requests (IIS 6.0) - Microsoft TechNet I set it up on my server as per the article and then used this to try and generate the report, but it keeps stating that RequestID cannot be found My website seems to slow down during the day and all SQL inserts star...

0
голосов
2ответов
974 просмотров

How do I follow a WCF request from start to finish?

I have a WCF service defined, it accepts JSON and maps that JSON to an object at which point I can then begin debugging code. Sometimes, the object fails to create. Most recently my service had a BodyStyle of Wrapped but should have been Bare. In this case I would have liked to watch the request...

32
голосов
10ответов
27161 просмотров

Xdebug trace GUI?

I'm trying to find a GUI to parse and view Xdebug trace files. Although you can make them human readable, the sheer number of lines makes it unusable. I'm looking for something like KCachegrind but for a trace file. My main goal behind all this is to find what the memory hogs are.

0
голосов
2ответов
1959 просмотров

Flash AS3: Getting this error: Access of undefined property - basic scope help needed :(

I'm still used to the AS2 style of all code on 1 frame, I'm trying to code AS3 in class files and I'm having a problem with a basic package setup. Scope issues are killing me with trying to learn AS3. Below is my package code, I don't have any other class files, just trying to return a simple tra...

13
голосов
5ответов
18261 просмотров

Is there a way to filter a SQL Profiler trace?

I'm trying to troubleshoot this problem using SQL Profiler (SQL 2008) After a few days running the trace in production, finally the error happened again, and now i'm trying to diagnose the cause. The problem is that the trace has 400k rows, 99.9% of which are coming from "Report Server", which I...

2
голосов
1ответов
85 просмотров

Trace in SQL Server 2005 Mobile Edition

Is there any tool available, from Microsoft or 3rd party, that allows a trace to be performed on Windows Mobile 6 device running Microsoft SQL Server 2005 Mobile Edition?

3
голосов
2ответов
501 просмотров

MySQL Connector/Net Trace

Does anyone know a way to enabled Tracing using a TraceListener for the MySQL Connector/net I'd like it to log the SQL Queries that are actually run against the DB, i.e. see the SQL with the parameter values substituted in.

0
голосов
1ответов
476 просмотров

.NET Network tracing only for Debug builds

I have enabled .NET network tracing per this article here: http://msdn.microsoft.com/en-us/library/ty48b824.aspx Unfortunately, the log files are generated for both Release and Debug builds even though TRACE is not enabled for my Release build. I'm trying to find a way to leave the logging ena...

1
голосов
1ответов
371 просмотров

Differences between .NET network tracing levels

I'm trying to understand what the different output is for the various .NET Network tracing levels documented here: http://msdn.microsoft.com/en-us/library/ty48b824.aspx It states only what the possible values are, and not what the differences are. Required String attribute. Sets the verb...

0
голосов
1ответов
187 просмотров

Debugging/tracing embedded sql

Is there a way to trace/log sql from the code (not from the db side, but rather what the code thinks it's doing)? I am using Pro*C/C++: Release 8.1.7.0.0 for Oracle

1
голосов
3ответов
1262 просмотров

ASP.NET - Can I write my own messages to ETW?

With the ASP.NET Events ETW (Event Tracing for Windows) provider, can I write custom messages to the trace from an ASP.NET page?

0
голосов
1ответов
1045 просмотров

How do I get TextWriterTraceListener to output times much like the standard tracing does?

I'm trying to analyze some running times for various methods in my default.aspx.cs page. I need to use TextWriterTraceListener. I have it set up so that output is being redirected to the file. However, the data isn't what I want. As far as I can tell if you simply enable tracing and have th...

1
голосов
4ответов
2319 просмотров

Oracle Query Performance

As a followup to this two questions and its answers Question 1 and Question 2. What gives better performance on Oracle using operator in, or or union? I think on a table with>1 mio rows with 10-500 rows per distinct value of y. select * from table where y in (1,2,3) or select * from table...

14
голосов
4ответов
14808 просмотров

Trace listener to write to a text box (WPF application)

For my WPF application I do logging to a text file using a TextWriterTraceListener. How can I also display the Trace output to a textbox?

7
голосов
2ответов
4257 просмотров

How to inject C# code at compile-time?

I would like to be able to decorate any method with a custom Trace attribute and some piece of code should be injected into that method at compilation. For example: [Trace] public void TracedMethod(string param1) { //method body } should become: public void TracedMethod(string param1) { ...

1
голосов
5ответов
515 просмотров

Log all function invocations to console

It occurs pretty often that I start debugging a class by logging every function call to console and looking for differences in the bugged cases. Is there some attribute that I can apply to a class to enable such a tracing? It's pretty exhausting to have to enter these Console.WriteLine("classnam...

0
голосов
1ответов
766 просмотров

Tracing is not working on a .NET 2.0 web service

I have a web service written with Visual Studio 2005. My web.config file contains this: <system.diagnostics> <trace autoflush="true" indentsize="4" /> </system.diagnostics> But any call to System.Diagnostics.Trace.WriteLine is ignored. When I step through my code, those...

7
голосов
5ответов
6389 просмотров

ASP.Net excessive use of User Controls

I'm investigating an asp.net web application that extensively uses User Controls on each page. Most pages contain around 10-20 user controls. The User controls seem to be the visual representation of the business objects (if that makes sense), although at a finer granularity such as each tab of a...

0
голосов
1ответов
490 просмотров

How to implement tracing in .net

I am implementing a tracing mechanism myself. Now what I'd like to know is what is the best way to implement this mechanism(I mean, the architecture). First I thought of creating a class like this: class Tracer { public void NewEventRegistered(etc) {...} //this is the method I use to send th...

1
голосов
2ответов
3567 просмотров

Visual Studio disable TRACE in debug mode

For a C++ project that I'm developing in Visual Studio 2005, I would like to disable the TRACE output option while running the code in debug mode. I have searched the internet about how to achieve this, but no luck. Is this even easily achievable? If so, how? Thanks in advance. Update #1: #defi...

0
голосов
2ответов
553 просмотров

ASP.NET Profile/Trace Framework

I'm looking for a ASP.NET module that will benchmark results, session, sql queries & other stuff & spit out on the page. I know Trace will give you some of that but not the sql part. I know Jeff had something similar for alpha stackoverflow, just wondering if there was a http module alr...

10
голосов
4ответов
8085 просмотров

Trace in Visual Studio Testing (Migrating from NUnit)

In NUnit, I'm used to writing Trace statements in the test, and having them show up in the trace tab of the NUnit gui. On a new project, I'm moving to the built in Unit Testing in Visual Studio Professional Addition, which I believe is an interface to mstest.exe. Test Code: <TestMethod()&...

1
голосов
4ответов
1752 просмотров

tool to trace application without code changes?

I've inherited a rather large WPF application, and I need to generate application traces for a significant portion of it. Because of the complexity of the project, I'd like to do this without making any changes to the code base, if possible. I mostly need to know the stack deltas, ie when a fun...

2
голосов
2ответов
2261 просмотров

How to make sense of WCF traces

I know how to enable WCF tracing and view them in the trace viewer tool, but I don't understand what it all means. is there documentation somewhere that explains what each of those levels means and how to make scene of all the information that is being logged. also what is a good source to learn...

0
голосов
3ответов
4347 просмотров

How to get trace output added to context.response in httphandler?

I've enabled trace pageoutput="true" in my web.config and I like the easy way it provides of seeing all this stuff at the bottom of the page. I'd like to get the same output from trace at the bottom of the output from my httphandler. Is there a way to dump out the same trace info via code that ...

63
голосов
2ответов
37033 просмотров

How to define custom TraceListener in app.config

I have implemented a custom trace listener (derived from TextWriteTraceListener) and now I would like to set my application to use it instead of standard TextWriteTraceListener. First I added default TextWriteTraceListener in order to make sure it works ok and it does. Here's my app.config: &lt...