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

How to keep track or trace the elements of array in MFC c++ visual studio

I'm fairly new to visual studios/window aplications, so im not used to not having a command line. Basically I have for example a CString m_storeEx = "12 + 2 - 4 " and so I used tokenize method to put each number and operator into an array by doing…
Barcode
  • 930
  • 1
  • 13
  • 31
1
vote
2 answers

Tracing through code

I have a question about the result i get when i trace through the code. In the output one of answers is 75, now i understand how all the other answers come to be. I know that int f = quip(b,10);' calls on the method below called quip. In that method…
Frank
  • 137
  • 9
1
vote
0 answers

Implementing Tracing in VB .Net App

This is my fist attempt to get tracing up and running in a multi-class application. The examples I've followed and had success with aren't translating to the app I need to trace. I've read up on SO, MSDN and elsewhere, still missing something. …
1
vote
1 answer

gcov: 0% execution line error

This is my first time dealing with "gcov", so I am trying to take it step by step. I am following Wikipedia page, so I created a simple c file as follow: #include int main (void) { int i; for (i = 1; i < 10; i++) { if (i % 3 == 0) …
Arwa
  • 575
  • 1
  • 5
  • 17
1
vote
1 answer

How to use Trace in Silverlight client?

How do I use Trace class to store tracing info in a file in a Silverlight client code? In server side code I change config to have tracing info directed into a file. What should I do to make tracing written to a file on the client side? I dont use…
Boppity Bop
  • 9,613
  • 13
  • 72
  • 151
1
vote
3 answers

Getting started with Intel Processor Trace (Intel PT)

I have gone through Chapter 36 of "Intel® 64 and IA-32 Architectures Software Developer’s Manual, Volume 3 (3A, 3B & 3C): System Programming Guide" and could understand the capabilities/features of Intel PT. However, I could not get information on…
Sanjay
  • 95
  • 2
  • 14
1
vote
0 answers

DebugView doesn't work on Windows 10

I can't capture trace from kernel, using WinDbg on Windows 10 x86. Seems troubles with old signature. Are there any alternatives which could receive DbgPrint from kernel driver?
Roman
  • 41
  • 1
  • 4
1
vote
1 answer

Win32 Application Console Output?

When developing a Win32 Application (non-console application) in Visual Studio 2005, is there any way to get the same sort of output as you do from the console? For instance, say I want to see log statements (such as I would with cout in a console…
leeand00
  • 25,510
  • 39
  • 140
  • 297
1
vote
1 answer

Trace function which is declared inside another function

I have the following code: abc <- function() { def <- function() { } def_enter <- function() { print("def_enter") } def_exit <- function() { print("def_exit") } trace(def, def_enter, exit = def_exit) def() } abc_enter <-…
user2235698
  • 7,053
  • 1
  • 19
  • 27
1
vote
1 answer

How do I use async_start and async_stop in systrace/atrace for Android

I want to capture Systrace report on my Android phone while doing automated testing. It is unknown how long the testing will take, so I can't specify the --time period for the Systrace. Digging deeper in to the systrace.py, I found out that…
Zythyr
  • 1,142
  • 4
  • 20
  • 33
1
vote
1 answer

Enable all .NET traces at a specific severity level

I am learning how to use the .NET Tracing framework, and I am stuck trying to enable some fairly simple logging. I'd like to log all messages that are at "Warning" or above to a text file, using the MyApplication.exe.config file. I would like to…
pauldoo
  • 18,087
  • 20
  • 94
  • 116
1
vote
3 answers

How do I get a 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…
macmac
  • 11
  • 1
  • 2
1
vote
1 answer

Avoid Access Denied when writing to file

I am logging to file with the following method public static void LogDataContractToFile(string XMLStringToLog, string filePathAndName) { FileInfo fileinfoMaster; FileInfo fileinfoLog; string fileName = string.Empty; int tmpInt = 0; …
Banshee
  • 15,376
  • 38
  • 128
  • 219
1
vote
1 answer

Can I use Ajax and ASP.NET Tracing on the same page?

I'm using an Ajax update panel and have recently added ASP.NET tracing code to aid in debugging. All of the sudden I started getting PageRequestManagerParseErrorExceptions when any Ajax code is executed. For example: Trace.Write("Done setting…
willem
  • 25,977
  • 22
  • 75
  • 115
1
vote
1 answer

sp_trace_setfilter column datatypes

Anyone know where i can find a list of the columns for setting the trace filter, i know the system id number as i got this off of MSDN but i need the list with all of the data types but i cant seem to find it anywhere...
xoxo
  • 567
  • 7
  • 25