I have an error very similar to the one addressed in this question. I am trying to deploy a small c#/Xaml utility on 6 work machines. 4 of the machines run the utility successfully and 2 do not. All machines are windows XP and have .Net frameworks 1-4 installed (my app is compiled against 4.0 and all machines have both client and extende...
In the Java Debugger Interface documentation for the Location class, there's a paragraph discussing the "stratum" of the location. I've been looking around a bit for more detail on how one would go about implementing a new stratum (for, say, Scala or JRuby), but I haven't found much. Can anyone shed some light on the topic?
...
I'm trying to integrate a 3rd party library into an existing application; it compiles and builds with no problems, but during execution gives a java.lang.NoClassDefFoundError.
The problem is that the error comes out of the library to which I don't have the source, and the error doesn't tell me what class couldn't be found.
Is it possib...
I am trying to make firebug break when an error is detected. Specifically, I have some internal checks in my code, like assertions, that I want firebug to stop on when they fail. I have tried a few different ways and wondered what other people do? Here are the ways I have tried:
Put in some invalid code so that if errors out:
function ...
I work on a project that has a lot of AOP-style aspects and interceptors. Calls between our services tend to have a lot of "junk" between them in stack traces, and it makes reading them unnecessarily wordy, especially when debugging.
Is there a way to get the stack trace view in Eclipse to only show the classes that are under a certain...
Hi
I wrote this code and compiled it,
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
// Data Structures
typedef struct process{
char jobName;
int arrivalTime;
int execTime;
struct process *next;
} P;
typedef struct result{
char Name;
struct result *next;
} result;
// E...
I've seen questions answering this with Visual Studio
vs-2008-addon-to-temporarily-disable-remove-all-catch-block
how-to-temporarily-deactivate-all-try-catch-blocks
but can't find anything regarding either Java or Eclipse. Does this feature exist, or is there some type of workaround I can use instead?
...
I have noticed alot of buggy behavior and problems when attempting to debug within the eclipse cdt using the MinGW GCC toolchain.
Whenever I try to step along in my program in the debugger, it usually walks along fine but then pulls up a screen with red text saying No source available for "ntdll!DbgUiConnectToDbg() at 0x7c90120f". The ...
Hi guys..
I am trying to build a AS3 only project in Flex....I have tried debug mode, but seems like it takes so long to compile....I can't use trace or check variables...Are there anyway to do debug?? Thanks for the help..
...
I understand why Python requires explicit self qualifier when referring to instance attributes.
But I often forget it, since I didn't need it in C++.
The bug I introduce this way is sometimes extremely hard to catch; e.g., suppose I write
if x is not None:
f()
instead of
if self.x is not None:
f()
Suppose attribute x is u...
In Visual Studio 2010, is there any way to start a non-StartUp Project without debugging?
Of course I mean without changing the solution settings (i.e. assume there is a StartUp project, which is the one I want to start 90% of the time)
I'll take a macro if someone knows how to write it.
Thanks
...
Sometimes I set NSZombieEnabled environment argument to YES for debugging.
This time I forgot to turn off the option, and submitted my application to App Store.
I suppose this option is just an environment option, so and does not affect to submitted application.
Am I correct?
...
I've multithreaded application where new TSQLConnection is created for each thread. If I try to use tracing (TSQLConnection.SetTraceEvent or TSQLMonitoring) I get the trace results as expected, but after that the main thread seems to beserk when I try to use any database functionality. Application throws excpetion "access violation at 0x...
Hi I have 2 different solutions, a web application solution and a service solution. Each is coded separately in solutions. The web application is using the generated dll of the service solution as a reference. Now I want to debug both of the solution. The web application is runned directly in IIS and I know how to debug a web applicat...
I am getting random crashes on my C++ application, it may not crash for a month, and then crash 10 times in a hour, and sometimes it may crash on launch, while sometimes it may crash after several hours of operation (or not crash at all).
I use GCC on GNU/Linux and MingW on Windows, thus I can't use the Visual Studio JIT Debug...
I hav...
Is it possible to use windbg commands like !locks and .loadby sos mscorwks from the Visual Studio command window (in a debug session)? I've noticed I can use eg k to print a stack trace, so I was wondering if there is some way to get access to the other commands.
...
I have a C++ gui application(MFC). I have made it dll and used its functionality from my C# windows exe application. Surely I'm not showing any window that previously were shown from C++ application.
For the following line i'm getting the error
Error: "Microsoft Visual C++ Debug Library... Debug Assertion Failed!... afxwin1.inl Line:2...
While debugging my project in Eclipse, it will (repeatably, at the same point in the code) pause execution as if it's reached a breakpoint. No exceptions are thrown, the project has no breakpoints, and if I hit resume, it carries on without a problem.
What could be causing this behaviour?
...
I am using the debugger to step through my code. The code file I’m in has usings at the top, including for example
using System.Linq;
In Visual Studio 2008 this used to apply to the Watch window while debugging, so I could use extension methods such as .First() and .ToArray() in the watch window.
For some reason, this has stopped wor...
I can't seem to find any information on debugging a python web application, specifically stepping through the execution of a web request.
is this just not possible? if no, why not?
...