stack-trace

IE hanging with 100% CPU / Got stack trace

馋奶兔 提交于 2019-12-22 09:38:53
问题 I have a situation where IE7 hangs accessing my web app. Based on the excellent suggestion from George V. Reilly, I installed WinDbg to download the IE symbols, setup Process Explorer to use those symbols, and then used Process Explorer to get a stack trace for the hung thread. I have pasted the stack trace below. Does someone more familiar with the IE internals have an idea of what is happening, or a suggestion on how to progress with this? ntkrnlpa.exe!KiUnexpectedInterrupt+0x8d ntkrnlpa

Can I translate a stacktrace from minified code into a human readable stacktrace using sourcemaps?

偶尔善良 提交于 2019-12-22 03:44:11
问题 I have some errors from minified code in production. I have sourcemaps not in production. I'd like to (after the fact) use source maps in a way to convert my stack trace into a human readable stack trace. Has anyone done this before? 回答1: I am also doing some research on the same, and come up with some reference. I am sharing those for you: https://github.com/janekp/mapstrace https://github.com/novocaine/sourcemapped-stacktrace https://hacks.mozilla.org/2013/05/compiling-to-javascript-and

Examine logs from the past with logcat?

穿精又带淫゛_ 提交于 2019-12-21 19:58:14
问题 I'd like to examine stack traces from the last hours. I haven't found a proper logcat command. Does Android "forget" those logs? First story: When I find an unhandled exception in my co-workers Iphone App, he connects the iphone to his computer and reads the stack trace into x-code. X-Code also visualizes the exception in a nice way. Is there a smth. similar in Android? 回答1: You probably won't be able to see those logs from the past hours. Imagine that your phone stores all logs, how much

How to get call graph profiling working with gcc compiled code and ARM Cortex A8 target?

丶灬走出姿态 提交于 2019-12-21 18:00:30
问题 I am biting my teeth out on this one... I need to do profiling on an ARM board and need to view call graphs. I tried with OProfile, Kernel perf and Google performance tools. All work fine but do not output any call-graph information. This led me to the conclusion that I am not compiling my code correctly. I use the following flags when compiling my C++ code: Arch specific: -march=armv7-a -mtune=cortex-a8 -mfloat-abi=hard -mfpu=vfpv3 General: -fexceptions -fno-strict-aliasing -D_REENTRANT

Android _Unwind_Backtrace inside sigaction

安稳与你 提交于 2019-12-21 12:11:02
问题 I am trying to catch signals such as SIGSEGV in my Android NDK app for debugging purpose. For that, I have set up a sigaction that is called. I am now trying to get the stack of the call. The problem is that _Unwind_Backtrace only works on current stack and sigaction runs inside its own stack. So, is there a way to get the stack of the execution pointer that received the signal? (Basically tell _Unwind_Backtrace to unwind another stack than the current?) I should point out that : Using

How to disable stack trace generation in a java program?

依然范特西╮ 提交于 2019-12-21 12:10:10
问题 I want to disable the stack trace getting generated when an exception is thrown. I have used, Runtime.getRuntime().traceInstructions(false); Runtime.getRuntime().traceMethodCalls(false); but still i could see the trace getting generated. How can you do that? Also i need to detect whether some one is debugging my class. I want to disable all exception traces. I cannot use obfuscation since my product is an SDK which will be used in development. I am offering a Runtime also which is used when

How to generate javascript stacktrace? [closed]

拜拜、爱过 提交于 2019-12-21 10:01:15
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . Any suggestions on how to, in a cross-browser way, generate a stack trace in javascript? Newer browsers, Chrome and Firefox, expose a console object that allows stack traces to be generated. This method does not provide a method for storing the stack trace to a variable. https://github.com/eriwen/javascript

How to generate javascript stacktrace? [closed]

Deadly 提交于 2019-12-21 10:00:23
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . Any suggestions on how to, in a cross-browser way, generate a stack trace in javascript? Newer browsers, Chrome and Firefox, expose a console object that allows stack traces to be generated. This method does not provide a method for storing the stack trace to a variable. https://github.com/eriwen/javascript

Will the source mapping in Google Chrome push to Error.stack

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-21 08:53:31
问题 Within Google Chrome, I was wondering if stack traces will, in the future, provide mapping support. Currently, using source maps, throwing an error will provide the line number link to my TypeScript files, however... When calling the Error.stack, it gives me the JavaScript lines and files. Here's a reference picture: http://puu.sh/4DTOG.png As you'll notice, the actual line the error is on is linked to the TypeScript file, but the stack trace links to the JavaScript files. 回答1: There is no

How to find caller assembly name in unmanaged c++ dll

空扰寡人 提交于 2019-12-21 06:24:42
问题 I have an unmanaged c++ dll . I am calling external methods of this unmanaged dll from c# (.net 3.5) I am looking for a way to find witch c# assembly is calling my unmanaged c++ dll (into my c++ dll) (at least, name of assembly) And sure, I don't want to pass any additional parameter to methods . Thanks in advance 回答1: This requires a stack walk. Works well in managed code, that's how code access security is implemented. Does not work so well when there are native stack frames to walk. You