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
0 answers

Why does gdb tdump display some values as ?

I'm trying to debug a unit test; on the 5943rd call to memcpy_c, it should panic but doesn't. To debug this, I'm using gdb's tracepoint mechanism to record data from all of these calls. Here's my debugging session: Setting up target & tracing (gdb)…
Cel Skeggs
  • 1,827
  • 21
  • 38
1
vote
0 answers

Is it possible to obtain trace of FVP using DS5 v5.21.1 ultimate(Evaluation version)

I am using DS5 v5.21.1 ultimate(Evaluation Version), I am trying to capture trace of ARM cortex A8 Fast model ("ARM FVP (Installed with DS-5) -> Cortex-A8 -> Bare Metal ->Debug -> Debug Cortex-A8") and have also added "--plugin MTS" option in the…
SarC
  • 118
  • 1
  • 7
1
vote
2 answers

Creating an unlimited SqlServer Trace

On my app i am creating a real time trace (not sure how yet but i am!) and on the sp_trace_create function in SQlServer, i know that the @maxfilesize defaults to 5, but on my app its going to be stopped when the user wants to stop it...any ideas how…
xoxo
  • 567
  • 7
  • 25
1
vote
1 answer

Trace messages in Adobe AIR app, debugged through iOS Simulator

I'm developing an AIR app through Adobe Flash CC. It's supposed to run on iPads and other iOS devices. I'm debugging it through native XCode device simulator, as described here:…
Peter Bosák
  • 317
  • 2
  • 11
1
vote
2 answers

Why do my runtime images taken with eztrace not show the idleness of threads?

I was doing a college work parallelizing a code in C with OpenMP and then getting a runtime image with eztrace, converting and displaying on vite. But it's not showing the idle time on threads. My code obviously has an idle thanks to the use of…
648trindade
  • 689
  • 2
  • 5
  • 21
1
vote
1 answer

Ajax / XMLHttpRequest tracking using javascript

I know firebug can trace all the Ajax/XHR events on a page. But I need to prepare a tool which automatically tracks these calls on button clicks on an already existing webpage. My webpage's HTML and JS structure are follows: HTML:
bpk
  • 313
  • 2
  • 6
  • 20
1
vote
0 answers

flash cc vs. flash cc 2014

I have the problem when I open my file in flash CC, I can't trace anything. If I use this code in Flash CC, I only can see the trace when I close my file. When I click 100 times on the button, I don't see anything on runtime. But when I close my…
Eljosi
  • 13
  • 5
1
vote
0 answers

TraceCallBackEvent usage for detecting idle SQL connections

Using Delphi 2006; My aim is to check wether a TSQLConnection instance is idle or not. Therefore, i am setting a Datetime "m_dLastActivity" to "now" each time activity is seen. As TSQLMonitor is buggy in its trace handling and causes memory problems…
Udontknow
  • 1,472
  • 12
  • 32
1
vote
1 answer

How to execute the io trace generated by DiskSim in real environment?

I want to compare different disk models using DiskSim. In many studies using DiskSim, researchers execute the trace files generated by DiskSim on both DiskSim and real devices. However, I didn't find out how to do so. Therefore, I want to find the…
Yizhou Yan
  • 25
  • 3
1
vote
1 answer

symfony2 doctrine2 : create an event that listens for select queries and returns the trace

With my symfony2/doctrine2 application, there are cases when I have a hard time figurint out where I did not addselect the right entities in my queries, which results in abnormal number of queries. I am looking forward to build a class that would…
Sébastien
  • 5,263
  • 11
  • 55
  • 116
1
vote
0 answers

Sampling on sched:sched_switch using perf API not working as i expect

I enabled sampling on sched:sched_switch for each CPU and for a particular process. My perf_event_attr: e_open->attr.disabled = 1; e_open->attr.type = PERF_TYPE_TRACEPOINT; e_open->attr.config = 87; …
1
vote
1 answer

How to add logging in .NET runtime or to a C# application that's already been distributed to customers?

I have inherited a massive C# application, server (a windows service) and client (windows desktop application). It's deployed at a variety of customer locations. I have a list of customer issues and bugs to address, but the logging in the…
user550738
1
vote
1 answer

Trace functions that are called on Python strings

Is it possible in Python to trace and filter functions that are called on strings during program run? I want to add sys.setdefaultencoding("utf-8") application, and I want to set some guards to predict potential problems with misusing standard…
anatoly techtonik
  • 19,847
  • 9
  • 124
  • 140
1
vote
0 answers

.NET SQL Server Trace with Filter

I've seen http://blogs.msdn.com/b/sqlprogrammability/archive/2006/05/26/receiving-profiler-events.aspx as well as https://technet.microsoft.com/en-us/library/ms345134%28v=sql.90%29.aspx as well as numerous other posts on SO and on the web, yet I…
as9876
  • 934
  • 1
  • 13
  • 38
1
vote
0 answers

Logging Windows API calls (params + call stack)

I'm trying to log all calls to ntdll!NtAllocateVirtualMemory of a third party process, to produce a log file with all parameters (also OUT parameters) and call stack. I've tried using WinDbg with this breakpoint: bp ntdll!ntallocatevirtualmemory…
iMz-
  • 11
  • 2