stack-trace

WinDbg, How to display version control file path in stack trace with source server?

I am using WinDbg with the source server so that it will display the source information in stack traces. But it shows the path where the source was built, not where it exists in my version control system. Is there a way to have it display the paths from my version control system? ...

Linenumber for Exception thrown in runtime-compiled DotNET code

Not quite the same as this thread, but pretty close. My program allows people to enter some VB or C# code which gets compiled, loaded and executed at runtime. My CompilerParams are: CompilerParameters params = new CompilerParameters(); params.GenerateExecutable = false; params.GenerateInMemory = true; params.IncludeDebugInformation = f...

Are there any function level debugging/logging tools for Java?

I'm sorry if the title is confusing but I couldn't think of anything similar to call it. What I'm looking for is if there is any sort of tool (or eclipse plugin, etc) that will log all the translated lines from a program. For example: int b = 20; for (int x = 0; x < z; x++) b = b + 5; Would get translated into b = 20 for (int x = 0;...

How can I get the stack trace in Specman?

Is there any way to get the stack trace in Specman? I patched the functions that force signals to tell me when signals are forced. I want to be able to tell where the forcing originated. ...

Help interpret this stack trace

I know that it fails at strcmp. I've provided operator< below, which calls strcmp. On line #1 there's the value @0xbfffeeac. What does the @ mean? #0 0x00212bd8 in strcmp () from /lib/libc.so.6 #1 0x0012ed2f in Json::Value::CZString::operator< (this=0x8317300, other=@0xbfffeeac) at src/lib_json/json_value.cpp:221 #2 0x001361b0 ...

Is DbgHelp.dll built-in to Windows? Can I rely on it being there?

I use Jochen Kalmbach's StackWalker class from CodeProject, to produce a stacktrace when an exception occurs in my DLL. It relies on DbgHelp.dll Is DbgHelp.dll built-in to Windows Vista, WS2008, Windows 7? I know about The Debugging Tools for Windows from Microsoft, and I'm aware that DbgHelp.dll ships in that package. But I also f...

how to see stacktrace of.net application

Hi, I have a .net Windows application in the production that has no access to Visual Studio(standard edition), and the only thing they can install is the express edition, which does not have the Just-In-Time Debugging option (the one which has debug button when it crashes). So I was just wondering if there is a window application debug...

StackTrace filename unknown

Something strange is happening in my code where I'm using a StackTrace. It's almost as if the debug info is not being loaded... but I'm running this on the DEBUG build.The .pdb files are definitelly in the bin directory and up to date. I've seriously ran out of ideeas : public class TraceHelper { private static IDictionary<string,i...

GetStackTrace in Delphi 7?

Using Delphi 7, how can I get a string representing the stack-trace from an Exception? try SomethingDodgy(); except on E:Exception do begin // print stack trace Log.Write(/* ??? */); end; end; I hear there's a GetStackTrace function in the latest delphi, but I can't find anything for delphi 7. No, upgrading is not an opt...

XCode 3.2.1 and Instruments: Useless Stack Trace

I've reached the stage where it's time to start tracking down memory leaks and, to my dismay, Instruments is giving me very little to go on (other than the fact that I definitely have leaks). My stack trace contains no information other than memory addresses. Since I'm working on a new project and I've transitioned to version 3.2.1...

Is it possible to extract some structured information from the Exception.StackTrace?

I was wondering if it's possible to convert the string StackTrace in the exception to a more structured data object? Or is there a method that can get me this information while I am catching the exception? Maybe something using reflection? Thanks! ...

Get stack trace from uncaught exception?

I realise this will be platform specific: is there any way to get a stack trace from an uncaught C++ exception, but from the point at which the exception is thrown? I have a Windows Structured Exception Handler to catch access violations, etc. and generate a minidump. But of course that won't get called in the event of termination due t...

How to get parameter value from StackTrace

From within a method call I need to "jump" three layers up the stack and retrieve the type and value of the parameters passed to that method. Getting the parameter type is easy but I couldn't find a way to get the value passed to a certain method on the stack. var st = new StackTrace(); var frames = st.GetFrames(); var methodParameters ...

How to read trace for a failed Rails migration related to Lockdown gem

More often than not, when i get an error the trace will point to a line in my own code. I'll go to that line, find the error and fix it. However, right now the trace is pointing to Rails and gem code, and I'm not sure how to use it to debug my work. I've been following the steps listed here. When I run rake db:migrate --trace, I get ...

Delphi 6 stack trace

Possible Duplicate: GetStackTrace in Delphi 7? Does anyone know how to get a nice friendly stack trace into a string when an exception is raised in Delphi 6? ...

Java threads: interpreting thread states of a running JVM

A Java thread is always in one of the following ten states: NEW: Just starting up, i.e., in process of being initialized. NEW_TRANS: Corresponding transition state (not used, included for completness). IN_NATIVE: Running in native code. IN_NATIVE_TRANS: Corresponding transition state. IN_VM: Running in VM. IN_VM_TRANS: Corresponding tra...

Call Tracing Windows Driver

I wish to be able to record, in real time, the activity of a kernel mode driver (I have the full symbols for it). It's a HID miniclass driver. I wish to record the execution of calls in this driver (stacktraces every time an IRP enters and leaves the driver). Is this possible (maybe with EWT and/or WPT)? ...

do you see any problem with that stored procedure template?

so I created that(I used some stuff found on other website) to handle transactions and having a sort of stacktrace while executing stored procedure that could call other stored procedure that need transaction and etc. so if I have A calling B and B is calling C and C got an error, I can correctly rollback my stuff and returning a stackt...

Obtaining stack trace after an access violation on Windows

I'm trying to use the StackWalk64 function in DbgHelp.dll to get a stack trace when I receive a SIGSEGV, but the stack trace obtained is unrelated to the actual site of the access violation: [0] sigsegv_handler() e:\hudson\jobs\ide-nightly-trunk\workspace\ide-nightly-trunk\core\ide\cspyserver\src\stackwalker\cssstackwalker.cpp:31 [1] Xc...

Get the method parameters from the throwing method in C#

I have a nasty exception that seems to occure deep inside the DataGridView Code. I have a class that inherits from BindingList which is the DataSource of a BindingSource which is the DataSoure of a DataGridView. Under some strange circumstances I get an exception during the overridden OnListChanged() method of my class: protected ...