Questions tagged [trace]

A trace is a log of execution of a process or method.

A trace is a log of execution of a process or method.

It is typically used during debugging in order to provide information to show the actions taken by code.

2716 questions
1
vote
1 answer

Is it possible to write the IP and location of the visitor in a file?

is it possible to write the IP and Location of the visitor in a file? this is my code: But its only writing the IP…
Mike W
  • 31
  • 1
  • 1
  • 3
1
vote
1 answer

Prolog graph search

I have created a simple graph search from an example move(math101, math102). move(math101, chem101). move(math102, math210). move(math102, phys102). move(phys102, phys201). move(math210, phys201). search(A, A, [A]). search(A, B, [A|Path]) :- …
Sean Gray
  • 133
  • 2
  • 2
  • 8
1
vote
1 answer

How to draw a diagram for running trace of quicksort in Prolog

I have a code for quicksort in prolog: gt(X,Y):- X @> Y. conc([], List, List). conc([Head|Tail], List1, [Head|List2]):- conc(Tail, List1, List2). quicksort([], []). quicksort([X|Tail], Sorted):- split(X,Tail,Small,Big), …
Thơ Hoàng
  • 185
  • 1
  • 1
  • 8
1
vote
0 answers

Windows 8.1 Flash Debugging on Google Chrome

I have a Flash game (written in Haxe with Sublime Text 3) that I am trying to debug in the browser. It doesn't matter which browser - I just need to be able to see the trace statements and exceptions thrown. I've tried a tool like vizzy and it just…
user1261710
  • 2,539
  • 5
  • 41
  • 72
1
vote
2 answers

Kernel hanging the tty subsystem

I am having some issues with the tty subsystem on a RHEL machine. From what I see in the logs, some kernel oopses are generated each time a new console (be it pts or tty) is spawned. To me it seems that there is some kind of race conditions which…
Alex
  • 635
  • 6
  • 15
1
vote
1 answer

Linux kernel's ftrace output format

I'm using ftrace on Android on a couple of different devices, but I noticed that the output format differs between them. In some cases, the TGID of the current process is included, while in others, it is not. The TGID is very useful in the current…
Shookit
  • 1,162
  • 2
  • 13
  • 29
1
vote
1 answer

Matlab - Trace contour line between two different points

I have a set of points represented as a 2 row by n column matrix. These points make up a connected boundary or edge. I require a function that traces this contour from a start point P1 and stop at an end point P2. It also needs to be able trace the…
binarycreations
  • 3,091
  • 6
  • 32
  • 38
1
vote
1 answer

Real-time display of events from EventProviderTraceListener in traceview

I am looking for a way to see the events logged using EventProviderTraceListener in real time. I am able to use logman to start & stop the tracing session and then decode the resulting .etl file, but I would like to see the events as they…
bialpio
  • 1,004
  • 7
  • 17
1
vote
2 answers

How to enable WCF tracing programmatically?

I have a WCF service (project output type - windows application) hosted as Windows service. All client and server logic is in c# code and I haven't any configuration files. I need to enable wcf tracing without using config file. How can I do that?
Andrei Karcheuski
  • 3,116
  • 3
  • 38
  • 39
1
vote
4 answers

How to use traceit to report function input variables in stack trace

I've been using the following code to trace the execution of my programs: import sys import linecache import random def traceit(frame, event, arg): if event == "line": lineno = frame.f_lineno filename =…
reckoner
  • 2,861
  • 3
  • 33
  • 43
1
vote
1 answer

How to specify a folder for a System.Diagnostics listener or filter in the xml?

we are working in a Prism application developing some modules that are deployed in a sub folder called Modules loaded by the bootstraper. Now we need to deploy a new listener to write traces using System.Diagnostics.Tracing. This is how the…
Ignacio Soler Garcia
  • 21,122
  • 31
  • 128
  • 207
1
vote
2 answers

How can I print the calling program/module inside a method in Perl?

I have written a Perl API and it is used by many programs across teams. I want to track all programs calling my API method. I want to have something like the below debug("The calling method is ", $XXXX); How to get $XXXX ?
1
vote
2 answers

Google Chrome Speed Tracer what does Request Timing and Response Timing actually measure?

I'm testing out the Google Chrome Speed Tracer on a few common web pages and taking a look through the results. One thing I'm not sure I understand is what the "Request Timing" and "Response Timing" properties of resources are actually…
Bryce Thomas
  • 10,479
  • 26
  • 77
  • 126
1
vote
0 answers

How do I trace a SELECT query using profiler

I wanted to trace a Select query that one of the software runs to get data and generate a report. Can someone help me how to use profiler to trace select queries? Sorry I am new and have never used profiler. I have written my own queries to fetch…
calvin12
  • 211
  • 1
  • 5
  • 16
1
vote
0 answers

How to log execution trace of JavaScript programs from engine?

I'm trying to write a tool to extract dependencies between JavaScript functions. There's JSAnalyse, but it uses static analysis and it is incomplete. I've try metaprogramming, overwriting all functions to log the execution trace. Something like…
Tamara
  • 11
  • 2