trace

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 don't even know why it's on, but it seems...

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 trace. The error I'm getting after I run the...

XDebug trace gui?

Hey, I'm trying to find a gui to parse 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. Thanks! ...

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 meant for, what's a quick easy alternative? ...

Trace to Opera Dragonfly

I am using Opera on a Windows PC and developing for a device. I can telnet into the device and manually run the browser which gives me the browser output. Is it possible to trace messages into both Dragonfly and the Opera console? I can see a window.alert() message show up in the console, but I would also like to trace messages for simp...

Flash trace,dump,print Array variables

is there a way to trace an ARRAY in FLASH. I want to have an output similar to PHPs command:print_r(myArray) for ex: (in flash): var event:Array = new Array(); event['name']='david'; trace(event); // that display anything while print_r(event) in PHP would display as string: Array { ['name'] => david, } I want to achieve same ki...

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 these circumstances change, it works: 32-b...

ASP.Net Enabling Trace in Code Behind

I'm looking for a way to enable trace for an ASP.Net page via codebehind without using the page or webconfig methods. My end goal is to have a page that reacts to a querystring element such as ?trace=true then show the tracing information, but prior to that the page would display normally. I've done some googling and my combination of ...

How to output/trace all variables and values in a Flash swf

Is there a simple way in Flash 8 when loading an swf or anywhere really to output all the loaded functions, movieclips, and variables/values? ...

setTrace() in Python

Is there a way to use the setTrace() function in a script that has no method definitions? i.e. for i in range(1, 100): print i def traceit(frame, event, arg): if event == "line": lineno = frame.f_lineno print "line", lineno return traceit sys.settrace(traceit) so ideally I would want the trace function to be...

setTrace() in Python (redux)

Apologies for reposting but I had to edit this question when I got to work and realized I needed to have an account to do so. So here it goes again (with a little more context). I'm trying to time how long a script takes to execute, and I am thinking of doing that by checking the elapsed time after every line of code is executed. I've d...

Oracle Trace File Browsers?

Can anyone recommend a graphical tool to make browsing Oracle SQL Trace files easier? TKProf is great for summary info, but lately I am needing more detail on a specific run of a statement and end up going back to the trace file directly. Summarization and filtering would be pluses, but mainly looking for something with some basic dril...

Trace/BPT trap when calling urllib.urlopen

For some reason I'm getting a Trace/BPT trap error when calling urllib.urlopen. I've tried both urllib and urllib2 with identical results. Here is the code which throws the error: def get_url(url): from urllib2 import urlopen if not url or not url.startswith('http://'): return None return urlopen(url).read() # FIXME! I sho...

What are best practices for event id management?

I'm trying to figure out how to manage my event ids. Up to this point I've been putting each event id in each method manually with each step in a method numbered sequentially. This doesn't allow me to effectively filter events in the event log. In order to use the filter in the event log, it seems that every logged event must have its...

How to check if pdf was modified

I have a pdf generated by 3rd party system. Using pdf editor or els software I have modified it. Is it possible to detect if pdf file was modified, without original file? 0 vote down check I will add some more details. There is no encryption and no signature features. Document is created by IT system. User receives document and mo...

How to write trace output to a text file without a web server in AS3

I have an application that writes traces with a timestamp when certain items are clicked or accessed. I need to write these to a text log file so that they can be accessed remotely.. The device the app runs on doesn't have a web server and doesn't run the flash debug player, os is xp. How can I send these traces to a text file? I noticed...

tracing mouse clicks on website

I am new to website designing and wanted to know couple of things. when some clicks on the link on my website say www.google.com, can i trace that how many people clicked on it. When i send out emails with attachments, can i record how many people opened those attachements. btw this is not yahoo or gmail, its my personal email with an ...

Unique value in StackTrace?

Background: I have written a generic logging library in .NET 3.5. Basically the developer needs to call the Begin() method at the beginning of their method and the End() method at the end of it. These methods do not take a parameter - the library uses the stacktrace to figure out where it came from. The library has a collection that k...

How in jboss write traces to separate trace file

How in JBoss to write traces to separate file? I would like to see traces about org.hibernate.SQL and org.hibernate.type in separate trace file. I added next appender and categories to jboss-log4j.xml but it does not help - jboss still writes traces into server.log. <appender name="HIBERNATE" class="org.jboss.logging.appender.DailyRol...

What's a good checklist for instrumenting my .NET application

Hello all, I'm looking for a best practices checklist for instrumenting my code. Not so much what tools to use (I'm a System.Diagnostics.Trace fan myself) but just where you should put tracing statements in a "typical" application. If you have a tip (or tips) can you please provide them here. Maybe distinguish stuff that you absolutel...