trace

Microsoft JET SQL Query Logging or “How do I debug my customer's program?”

独自空忆成欢 提交于 2019-12-21 20:37:11
问题 The problem: We use a program written by our biggest customer to receive orders, book tranports and do other order-related stuff. We have no other chance but to use the program and the customer is very unsupportive when it comes to problems with their program. We just have to live with the program. Now this program is most of the time extremely slow when using it with two or more user so I tried to look behind the curtain and find the source of the problem. Some points about the program I

What is the performance impact of tracing in C# and ASP.NET?

橙三吉。 提交于 2019-12-21 07:26:18
问题 I found this in some production login code I was looking at recently... HttpContext.Current.Trace.Write(query + ": " + username + ", " + password)); ...where query is a short SQL query to grab matching users. Does this have any sort of performance impact? I assume its very small. Also, what is the purpose of this exact type of trace, using the HTTP Context? Where does this data get traced to? Thanks in advance! 回答1: Yes it will have a performance impact whenever the TRACE conditional

.NET TraceSource not working under Windows Azure

守給你的承諾、 提交于 2019-12-21 05:24:06
问题 I'm trying to display some TraceSource logging information to the Azure emulator ( consoley ) window. None of the TraceSource lines are displayed. Only the stock Trace lines and various low level azure messages. Here's my steps to repo, including code snippets: File -> New -> Cloud Service (SDK 2.0) -> (add worker role). Add a TraceSource to the WorkerRole. Update the app.config with tracing data. Play/Publish. NOTE all the other default code is in there, such as the .csfg which says to use

Enable ODP.Net logging

心已入冬 提交于 2019-12-21 01:21:25
问题 Can anyone help me with enabling ODP.Net logging on a Windows XP machine? I googled and found following link but it did not work for me. http://download.oracle.com/docs/html/E10927_01/featConfig.htm I set the "TraceLevel" setting to "63" in registry but it did not help Basically I want to capture all the database call happening from my C# code through the log. I wish there was a tool like "SQL Profiler" for Oracle. 回答1: I had the same issues on certain machines when troubleshooting some

Enable ODP.Net logging

╄→гoц情女王★ 提交于 2019-12-21 01:21:06
问题 Can anyone help me with enabling ODP.Net logging on a Windows XP machine? I googled and found following link but it did not work for me. http://download.oracle.com/docs/html/E10927_01/featConfig.htm I set the "TraceLevel" setting to "63" in registry but it did not help Basically I want to capture all the database call happening from my C# code through the log. I wish there was a tool like "SQL Profiler" for Oracle. 回答1: I had the same issues on certain machines when troubleshooting some

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

喜欢而已 提交于 2019-12-20 19:24:34
问题 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 Measurement Studio or other component that draws the doodads for a bunch of I/O, OPC, or other bits. At any rate, what happens is that the debugger hops out of the

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

随声附和 提交于 2019-12-20 19:24:21
问题 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 Measurement Studio or other component that draws the doodads for a bunch of I/O, OPC, or other bits. At any rate, what happens is that the debugger hops out of the

Profiling a (possibly I/O-bound) process to reduce latency

这一生的挚爱 提交于 2019-12-20 12:33:03
问题 I want to improve the performance of a specific method inside a larger application. The goal is improving latency (wall-clock time spent in a specific function), not (neccessarily) system load. Requirements: As I expect a lot of the latency to be due to I/O, take into account time spent waiting/blocked (in other words: look at wall clock time instead of CPU time) As the program does much more than the fragment i'm trying to optimize. There needs to be a way to either start/stop profiling

.NET Trace to a file not working

蹲街弑〆低调 提交于 2019-12-20 10:08:08
问题 I am trying to track strange things going on in my Windows Forms application with a TextWriterTraceListener pointed to a file location. I have it set up so that the first time the application needs to trace something during the run of the program, it creates the trace listener and registers it. However, it looks like the trace file is not getting created at all, nothing showed up at C:\GMS2Trace.log. I have verified that the program has reached parts of the code that call the trace method. My

.NET Trace to a file not working

北慕城南 提交于 2019-12-20 10:07:56
问题 I am trying to track strange things going on in my Windows Forms application with a TextWriterTraceListener pointed to a file location. I have it set up so that the first time the application needs to trace something during the run of the program, it creates the trace listener and registers it. However, it looks like the trace file is not getting created at all, nothing showed up at C:\GMS2Trace.log. I have verified that the program has reached parts of the code that call the trace method. My