Hi All,
I am working on a sub project(.NET) which deals with exceptions. Below is my requirement
When an exception occurs, the exception assembly must capture
CPU information
Method which caused the issue
Data which caused the issue
Environment details (path and other information)
In above all these, the toughest part would be ge...
I need to get a stack trace object in Ruby; not to print it, just to get it to do some recording and dumping for later analysis. Is that possible? How?
...
A stack trace has appeared in the Output pane of my VS2010. Is there an extension/etc that will make that stack trace clickable (to navigate to the relevant code)?
...
I surf to a web page (the web page belong to my company...) and my explorer is stuck on 100% (desktop, windows XP, 1.5G, IE7, SP3)
I'm not sure I have all the pdb and the information needed but the call stack from analyzed dmp file in dbg is below - does it look familiar
msls31!InitGroupChunkExt+0x11a
msls31!InitGroupChunkExt+0x25e
...
Is there a convenient way to get a more detailed stack trace on a Python exception? I'm hoping to find a wrapper utility/module or some other way to get a bit more info from the stack trace without having to actually modify the Python script that generates it. I'd like to be able to use this when running unit tests, or doctests, or whe...
Something funky is happening with one of my class's instance variables. I want to make the variable a property, and whenever it is accessed I want to print out the stack trace of all the code leading up to that point, so I can see where it's being messed with. How do I print out the stack trace when no exception has been raised? I know i...
I have a stack trace that looks like this:
#3 0x00007fffde86c206 in GetMedia (p_ml=0xb91560, id=<value optimized out>, select=ML_MEDIA, reload=<value optimized out>) at ../../../modules/media_library/sql_media_library.c:1170
#4 0x00007fffde86a7d0 in GetInputItemFromMedia (p_ml=0xb91560, i_media=12276000) at ../../../modules/media_libr...
In Python, I can use decorators to trace the function call, its variables and return values.
It is very easy to use.
I just wonder can C# do the same thing?
I find out there is a sample code of CallTracing Attribute online.
However, it didn't show the result I expected.
Does C# attributes have similar concepts as python's decorator?
T...
I'm trying to understand what these offsets are in an iphone stack trace:
11 FOO 0x0005684a +[TTURLRequest requestWithURL:delegate:] + 42
12 FOO 0x00056840 +[TTURLRequest requestWithURL:delegate:] + 32
What are the hex numbers 0x0005684a and 0x00056840? What are the numbers +42, and +...
Sometimes when I run my application it gives me an error that looks like:
Exception in thread "main" java.lang.NullPointerException
at com.example.myproject.Book.getTitle(Book.java:16)
at com.example.myproject.Author.getBookTitles(Author.java:25)
at com.example.myproject.Bootstrap.main(Bootstrap.java:14)
People...
Like in
for((;;)) {
gdb -batch -n -ex 'set pagination off' -ex 'thread apply all bt' ffplay_g `pidof ffplay_g` >> /tmp/qq;
}
, but faster, without reloading GDB and symbols every time?
Backtraces need to be taken by timer, not by triggering some breakpoints.
...
I have some WCF services with predefined FaultContract attributes. When the FaultException<TDetail> exceptions are thrown, they're sending StackTrace, Source and other potentially unsave information.
Is it possible to return only:
Detail (from the generic TDetail)
FaultMessage
FaultCode
(and possibly) FaultReason
...
Objective-C's runtime seems to be rather robust, so I was wondering if there's a way to log the name of the function that called the current function (for debugging purposes).
My situation is that a bunch of things assign to a property, and rather than set a breakpoint and examine the call stack each time, I'd like to just NSLog the nam...