trace

Use execution trace on-chip buffer (ETB) on STM32H7

我只是一个虾纸丫 提交于 2019-12-11 15:41:24
问题 I need to output the on-chip buffer (ETB) execution trace in some particular cases. I'm talking about an operational functionality, not about ETM trace during debugging phase. I've read Arm® CoreSight™ ETM-M7 Technical Reference Manual but there is almost no detail about using this ETB feature. There is also this link on ARM Information center, but I found it particularly unclear. How can I use ETB ? EDIT: I clarified a little bit the situation thanks to a presentation from STMicro. It states

wcf client trace svclogfile fault exception

旧城冷巷雨未停 提交于 2019-12-11 14:06:20
问题 I need help figuring out why the Process Action failed This is my wcf client connecting to an external service. My svclog has the following <E2ETraceEvent xmlns="http://schemas.microsoft.com/2004/06/E2ETraceEvent"> <System xmlns="http://schemas.microsoft.com/2004/06/windows/eventlog/system"> <EventID>131075</EventID> <Type>3</Type> <SubType Name="Error">0</SubType> <Level>2</Level> <TimeCreated SystemTime="2013-05-15T19:40:53.8202209Z" /> <Source Name="System.ServiceModel" /> <Correlation

Why is my ASP.NET web form Load event taking so long?

本秂侑毒 提交于 2019-12-11 13:23:47
问题 I have an ASP.NET 2.0 web form that is taking almost 30 seconds to load. I am trying to figure out what is going on. I have enabled tracing and put in a whole bunch of Trace.Write statements so I can hopefully see what is going on. The results are very strange. They look like this... aspx.page Begin Load 0.000245093984962406 MyEvent1 0.000446804511278195 MyEvent2 0.000464654135338346 MyEvent3 0.000477984962406015 aspx.page End Load 23.9897560037594 So all of the Trace statements that I put in

Help debugging WCF

99封情书 提交于 2019-12-11 12:59:10
问题 I am new to WCF programming and am finding the learning process rather frustrating. As far as I can tell, WCF (and WPF, for that matter) will hide errors from you by default. So far I have experienced the following problems and had essentially zero indication from Visual Studio or the runtime that there was anything wrong (other than my application just not working): a service reference not being up-to-date (why doesn't VS do this automatically?); a type in a service method could not be

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

蹲街弑〆低调 提交于 2019-12-11 09:47:47
问题 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 systrace is using atrace to get the kernel logs. I used adb shell atrace --help and got the following output: usage: atrace [options] [categories...] options include: -a appname enable app-level tracing for a comma separated list of cmdlines -b N use a

How can a CMake variable be hidden?

浪子不回头ぞ 提交于 2019-12-11 06:05:55
问题 I have a CMake project which lets a globally set variable (set with -DARDUINO_SDK_PATH=/a/b/c on command line) disappear i.e. suddenly the given value is gone which leads to a fatal error. I know there are different ways to "hide" a variable (e.g. inside functions or external projects) In my case: the variable is not being set explicitly anywhere in the code (e.g. via set() or find_path() ) the access which leads to the error is on top level (i.e. not inside a function) there are instructions

Execution trace/flow in java 6 and higher

蓝咒 提交于 2019-12-11 05:43:51
问题 I am looking for a tool that allows me to get the complete execution trace of a Java program. That is, I need the list of method invocations, in order, of my program. I have found this SO question where the OP talks about Trace, which does exactly what I need, but it seems to be available only in java 1.5 and below. Is there something similar for java 6 and higher? 来源: https://stackoverflow.com/questions/14706742/execution-trace-flow-in-java-6-and-higher

How can I add Windows Networking events to my custom wprp file?

时光总嘲笑我的痴心妄想 提交于 2019-12-11 05:07:51
问题 I'm trying to capture an etl trace on the HoloLens with my own events, and some generic networking events. Using WPR on my PC, I can choose Networking I/O activity , which will show events like Microsoft-Windows-TCPIP when I analyze in WPA. I can't figure out how to see these events on a HoloLens, or successfully put them in my wprp file. I've tried the following with no success, even on Windows. My own events work fine. <EventProvider Id="Microsoft.Windows.TCPIP" Name="2F07E2EE-15DB-40F1

Alternate (Free) to AOP PostSharp for method tracing (and exception)

你离开我真会死。 提交于 2019-12-11 02:37:12
问题 I like to add tracing entering and leaving of every methods in classes. and also trace the arguments when an exception occurs. With PostSharp AOP, I don't need to put it in every method but just apply attributes. But I can't afford PostSharp. Is there an alternate way to do this? Can Unity3D do that? I am using log4net to log the message. 回答1: Yes you can do Aspect Oriented Programming and Interception using Unity. Unity is a lightweight, extensible dependency injection container with support

FParsec only parses expr between parentheses

不想你离开。 提交于 2019-12-11 02:08:29
问题 I am coding a parser (for learning pourpuses). I want it to parse constructions like let myVar be 40 plus 2 and let myVar be (40 plus 2) With no problems... but my parser does not "understand" the former. It sees the 40 and thinks "well, it's a Literal Numeric 40 ". When I put parentheses, my parser works great. I am having a hard time to understand why. Parser: type value = | Boolean of bool | Numeric of float | String of string type arithmetic = Sum | Sub | Mul | Div | Pow type logic = And