I have some code which generates a large quantity of ArgumentExceptions on one particular line (which is in a different developer's code, so I can't just change it), which are then caught and handled appropriately.
I'm trying to debug ArgumentExceptions which are happening in a different section of code (and are then caught and handled...
Hi, I'm trying badly to track down a debugger for DOS assembly, it's really hard to debug this code and I need a debugger. Does anyone out there know where I can download any version of turbo debugger?
...
I'm investigating a deadlock bug. I took a core with gcore, and found that one of my functions seems to have called itself - even though it does not make a recursive function call.
Here's a fragment of the stack from gdb:
Thread 18 (Thread 4035926944 (LWP 23449)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0x005133de in __lll_mutex_loc...
Has anyone developed an encyclopedia or wiki of software bugs, either bug types (off-by-one, buffer overflow, etc.) or even just famous bugs (Grace Hopper's moth, the Arianne rocket failure, etc.)?
I was thinking that for tough situations, a cross-referenced encyclopedia of bug types, examples, and symptoms of bugs would help programmer...
Could you give an example where static_assert(...) 'C++0x' would solve the problem in hand elegantly?
I am familiar with run-time assert(...). When should I prefer static_assert(...) over regular assert(...)?
Also, in boost there is something called BOOST_STATIC_ASSERT, is it the same as static_assert(...)?
...
Hi,
I am using a third party closed source API which throws an exception stating that "all named pipes are busy".
I would like to debug this further (rather than just stepping through) so I can actually learn what is happening under the covers.
I have taken a dump of this process using WinDbg. What commands should I now use to analyse...
I have a unit test that tests if an Exception is throw, but this Exception is only throw in Debug mode (via the [Conditional("DEBUG")] Attribute). If I run this test in Release mode, it fails. I tried to apply the same Attribute on the test but it's no taken into account.
How can I exclude a test in Release mode? Does it even make sense...
I've tried with netbeans and eclipse, with no luck... (coudn't try IntelliJ idea)
I gave a quick look ant the code
http://kickjava.com/src/groovy/servlet/TemplateServlet.java.htm
and it gives me the impression that .gsp pages are translated to .groovy servlets (groovlets) in memory (I might be wrong)...
so perhaps it's not so easy to...
Hi,
I am currently trying to get to the bottom of a client crash with one of our applications. I have wrapped the app in an exception handler which creates a mini-dump when the crash occurs.
The application crashes with the exception c0000139 (of which there isn't a huge amount of documentation).
The callstack looks like this
ntdll....
I'm currently debugging an ASP.NET MVC application that was just deployed to a different server.
All the versions between the staging server and the production server are the same, but in the production server (which is 64bit, but is running the app in 32bit mode) I'm getting a timeout in this controller action:
[AcceptVerbs(HttpVe...
I'm digging into J2EE for the first time in years. I'm looking for recommendations on J2EE debugging and monitoring tools. I'd like to find a tool that lets me dynamically explore the threads space etc.
I'm primarily working with Tomcat. update: and Java 5. (Rats.)
...
Can I move the instruction pointer directly to a line of my choice (within the current method) while debugging a Java program in Eclipse (Galileo)?
It's straightforward to drag the instruction pointer to the desired line within a method in Visual Studio, but I don't see a way to do that in Eclipse (and don't find anything about it in th...
I have a C# windows form application (Actually it is a IE toolbar application), I have been working with it in VS2005 for years and everything is fine. Recently, I upgrade my IDE to VS2008, and also import that project to VS2008, but after import, in VS2008 I can't start debugging any more, it always show: "Error while trying to run proj...
I'm currently using VS2008 and VB.NET.
When I attempt to populate a Queue that has not been instantiated with objects, the program simply hangs without throwing an error.
I have run into this issue multiple times in different parts of the program in the past few days.
What could be the cause of this?
Here's the code:
Structure Conso...
i want to know whether if its possble to access the stack(allocated to the thread which is used to store local variables etc.) content progarmitically .this can help in my effort to programatically determine stack overflow issues.thanks in advance
...
please any one help me
while debugging a CLR sp am getting error like "cancelled by user"
i think i need to enable something?
...
This is nearly my first experience with unit testing.
I added a unittest to my solution, and selected Test->Run->All Tests in Solution. My test failed due to an exception which got thrown in the tested code.
Normally, I would then go to the stacktrace toolwindow, click my way through it, looking at the values of locals in every stackfr...
class eulerThree {
public static void main(String[] args) {
double x = 600851475143d;
for (double z = 2; z*z <= x; z++) {
if (x%z == 0) {
System.out.println(z + "PRIME FACTOR");
}
}
}
}
and the output is:
71.0
839.0
1471.0
6857.0
59569.0
104441.0
486847.0
So, I assume 486847 is the...
Hello. Just for fun, how close can we get to debug an application in C# using only the command-line out-of-the-box? No other software, just the command-line. That is, for instance, is there a way to peek at the values of variables, interact with output, etc. like the VS debugger does?
EDIT: And just for completeness' sake, here is the m...
I’m looking for tools for interactively inspecting HTTP servers by manually constructing requests (and viewing responses), under GNU/Linux. Something that would let me quickly specify standard header fields, make a form request body, etc. (netcat doesn’t really excel at this.)
Any suggestions?
...