trace

tracing a linux kernel, function-by function (biggest only) with us timer

Hello I want to know, how does the linux kernel do some stuff (receiving a tcp packet). In what order main tcp functions are called. I want to see both interrupt handler (top half), bottom half and even work done by kernel after user calls "read()". How can I get a function trace from kernel with some linear time scale? I want to get ...

Does ASP.NET Tracing work in MVC2 Views?

I have a VS 2010 MVC2 .NET 4.0 web application. ASP.NET tracing is enabled both in the Page directive (Trace="true) and in the Web.config: <trace enabled="true" requestLimit="10" pageOutput="true" traceMode="SortByTime" localOnly="true" writeToDiagnosticsTrace="true" /> A standard trace lis...

Is there a way to trace through only project source in Delphi?

I'm using Delphi 2010 and I'm wondering if there's a way to trace through code which is in the project without tracing through calls to included VCLs. For example - you put in a breakpoint and then use Shift+F7 to trace through line-by-line. Now you run into a call to some lengthy procedure in a VCL - in my case it's often a Measuremen...

Filtering debug messages in VS

I am working on a VC# project which uses the Debug.Writleline command for debugging. I would like to filter out certain debug messages at runtime. I can think of 2 ways to do this: Somehow viewing the debug messages on stdout and redirecting them to grep Using a filter function on the output window (as in netbeans) Is there any way...

In SQL Server, how to move/import a multiple .trc files to a trace table

I have a set of rollover .trc files recorded with Sql Profiler. mytrace.trc mytrace_1.trc mytrace_2.trc mytrace_3.trc I can import the first one using this command: use [my-database] SELECT * INTO trace_folder FROM::fn_trace_gettable('C:\mytrace.trc', 4) However, this only appears to load the first file, not all four. ...

Any reason why PresentationTraceSources.TraceLevel=High would not print any info to the output window?

I've been trying to get to the bottom of an issue with binding the SelectedItem of my ComboBox and since I've had not success thusfar I started looking at ways to get more detailed debugging information by setting PresentationTraceSources.TraceLevel=High for specific bindings. Unfortunately after doing so I don't see any related items in...

Configure trace for SpringServer dm 2

According to the Spring documentation, By default, the dm Server trace file is called $SERVER_HOME/serviceability/logs/dm-server/log_i.log ... The index i varies from 1 to 4, on a rolling basis, as each log file exceeds 10Mb. I'm aware that the default trace file name can be changed in server.config. Is it possible to c...

Any libraries out there that extend System.Diagnostics.Trace?

Any there any good libraries out there that extend System.Diagnostics.Trace? Some of the features I am looking for. Rolling logs smtp And "Use log4net" is not an answer. The reason being is that i don't want a reference to any third party assemblies. In response to comments: Because using trace does not pollute the business code. I...

How to make a memory dump in .net?

How do you obtain a memory dump from a given memory address in the format: Address | Hexadecimal representation | ASCII representation --------------------------------------------------------------------------------------- 0x637132687 | 00 00 00 00 00 00 00 00 45 21 65 78 32 F5 12 6C | ....... ahsnfdas 0x63...

SQL Server job (stored proc) trace

Hi Friends, I need your suggestion on tracing the issue. We are running data load jobs at early morning and loading the data from Excel file into SQL Server 2005 db. When job runs on production server, many times it takes 2 to 3 hours to complete the tasks. We could drill down to one job step which is taking 99% of the total time to fi...

java tracing spaghetti code

Folks, I have just joined this company which has a huge source tree based upon JSP/Servlet and EJB 1.2. No documentation exists. The code has been written over seven years, with a large number of undocumented changes. Are there any tool tah can assist me in tracing the execution? Putting a breakpoint is not helping me much. ...

[Erlang - trace] How to trace for all functions in an Erlang module except for one?

I wanted to trace for all functions in an erlang module, with dbg:tpl, but one of the internal functions took up 95% of the trace file. I then wanted to exclude only that single function and found that it was not as easy as I thought it would be. I know there are great pattern matching possibilities for arguments when tracing. Is ther...

How to use startMethodTracing APIs on Android?

I have recently started working on an app which has both Java and native components. I am trying to generate trace information for both components using Debug.startMethodTracing("myapp") and Debug.startNativeTracing() alternately. However, both are behaving unexpectedly. When I use Debug.startMethodTracing("myapp"), I can see a file /...

Trace interruption on a linux system

Hi, The command strace is mainly for tracing system call. Does someone know the equivalent for tracing interruption like IRQ14... Thanks ...

Diagnostics Trace: how to trace only one WCF endpoint

Hi, I have a WCF client that connects to multiple endpoints; some net.pipe, some https. The net.pipe endpoints have a fair amount of chatter but they work reliably, so I don't want to trace those, as the log file gets too big and cluttered too quickly. However, the https endpoint is fairly new and I need to trace that one. How do I tra...

Where is default location where tracelistener writes txt logs

Hey guys, i want to log some traces in my service. When i set initializeData to a location in the d: partition, i can write with no problems. When i set the initializeData to c:\, it doesn't write at all. Now i was wondering 2 things : 1) Does my service not have the rights to write to c:\ partition? 2) if i don't specify the parti...

Programmatically change .net configuration at runtime?

Is there a way to programmatically enable diagnostic tracing for a WSE web service client? This is how it should be configured using an app.config file: <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> <section name="microsoft.web.services3" type="Microsoft.Web.Services3.Configuration.WebServicesConfigurati...

How to see live stats of website performance (IIS7)?

In task manager, I am only able to see the resources w3wp.exe is using, but this is too vague. Can I see the resources each website and app pool is using? Would also be nice if I can see what pages are taking up the most resources (all in real-time). Does anything exist like this? ...

convert char[] to String in btrace

Hi folks! I'm profiling application with btrace (https://btrace.dev.java.net) and faced with limitation. I try to get a name of current java.lang.Thread. Normaly you can call getName() but it's forbidden in btrace-scripts (any calls exception BTraceUtils). Is there any idea how to get String from char[]. The original task is check if na...

How to avoid an empty file output when using startMethodTracing()?

I got to this site when I was looking for an answer and found a similar question, How to use startMethodTracing APIs on Android? I have the same problem than the original poster. I am trying to generate a trace file for Traceview using Debug.startMethodTracing("myapp") and I get an empty file no matter what I do while running the applic...