-1
votes
0answers
27 views

Using grep to get the full stacktrace of exception

How can I grep all the exceptions in jboss server.log (log4j) file and include the entire stacktrace in the output?
0
votes
0answers
39 views

Python: Best practice for raising and/or inspecting exceptions

I have a setup in my Python code resembling this: def a(): raise MyUserDefinedException() def b(): a() def c(): a() def d(): b() c() def main(): try: d() ...
1
vote
1answer
54 views

C#: Trying to send the exception stack trace in the message body of the email.

I have written a console app for login function. I am recieving the email but when there is an exception I get the exception stack Trace on the console app but not in the email. I get the success ...
0
votes
0answers
47 views

Exception in thread and stack trace shows call to _endthreadex

I am currently debugging a crash in one of my applications and stumbled up on something that looks a bit odd to me. In my application I start several threads using _beginthreadex function. At some ...
0
votes
2answers
142 views

Delphi obtain stack trace after exception

I'm trying to figure out how to obtain a stack trace after an exception is thrown in Delphi. However, when I try to read the stack in the Application.OnException event using the function below, the ...
4
votes
1answer
123 views

How can I get the stack trace for a JavaScript exception in IE 8?

When a JavaScript exception is thrown in IE 8, how can I see its stack trace? For example, the following code from jQuery catches an exception and rethrows it. Debugging in Visual Studio (2012), ...
0
votes
0answers
32 views

Stack trace on error handling - missing information

I have a SubmitChanges() method in my Linq2SQL/C# 4/WPF/Visual Studio 2012 project. In this method I call the datacontext's build in SubmitChanges() and do a bit of errorhandling. I have a long list ...
0
votes
0answers
133 views

Attaching gdb to generate backtrace of process on Ubuntu fails

To generate backtrace using gdb i using following code, which i got from stackoverflow only: void print_trace() { char pid_buf[30]; sprintf(pid_buf, "%d", getpid()); char name_buf[512]; ...
0
votes
1answer
48 views

getTraceAsString() printing out as one whole line

I am using the php method getTraceAsString() which will pring out my error messages like: #0 /var/www/wordpress/wp-content/themes/Aisis-Framework/AisisCore/Template/Builder.php(147): ...
2
votes
1answer
56 views

In Ruby, why aren't variable names in the stack trace?

In a rails app with associations (Such as Post belongs_to user), a common exception is this: NoMethodError: undefined method `user' for nil:NilClass Ubiquitously, this causes beginners to believe ...
1
vote
1answer
115 views

C++ Builder Exception - StackTrace empty?

I want to get the stack trace but it is always empty? try{ int a = 5, b = 0; int c = a/b; } catch(Exception &e){ ShowMessage("Exception: " + e.Message + "\nStackTrace:" + ...
0
votes
2answers
121 views

Can anyone decipher this SQL Stack Trace?

I have a stack trace that is not making any sense to me. I think the essence of it is the "Data source name not found and no default driver specified" part, but I've registered a driver and I'm not ...
4
votes
1answer
209 views

How can I get a stacktrace from C++ in WinRT?

I need to get a stacktrace from a C++ application, and serialize it into a string so it can be parsed later. The only API I've heard of for this on Windows is StackWalk64, which doesn't appear to be ...
2
votes
2answers
49 views

Grab a reference on the last thrown exception

In the python and/or ipython interactive interpreter, how can I get name bound on the last unhandled exception? I.e. the equivalent of >>> try: ... 1/0 ... except Exception as potato: ... ...
0
votes
4answers
225 views

Java - Logging Exceptions - how to log as much information as possible?

There's a common problem I've come across a few times when logging Exceptions. There seem to be various different types to deal with. E.g. some wrap other Exceptions, some don't have a message at all ...

1 2 3 4 5 8
15 30 50 per page