I am getting an exception in a very simple 'study' application, so I expect the problem to be in my project setup, but I don't know how to debug ...
What is the context of the exception, "ExceptionInInitializationError"?
Where is it documented? A: Search Android Developers Guide
Stack trace from within Eclipse Debugger with: select t...
I have a couple ANTLR-generated code files, and I'm currently happy with how they are working. I'd like to configure my project in Visual Studio (2008) so the debugger skips over methods defined in those files. How can I do this?
...
I'm trying to play background music along with sound effects using Qt. However, I can't get more than one sound to play at once. For example:
QSound::play("Music.wav");
QSound::play("Effect.wav");
When this code is run (on Windows), you can hear Music.wav just start to play, but then it stops and Effect.wav plays. Is there any way to ...
In visual studio or any other IDE, usually there are two build configurations, Debug and Release?
How does the differ? Why sometimes you have compile errors when building in Debug mode, but not when in Release mode, and vice versa?
...
I'm developping a web application in Eclipse and I'm using maven, spring and tomcat.
Now the problem I have is that debug as => debug on server doesn't work.
I just get exceptions. (and yes I've created the server)
If I use the mvn command to compile it, put the war in my tomcat webapps dir and start my tomcat the application works fine...
Do you know a way to add some code that, during debug, programmatically clear the Output Window in Visual Studio?
Or do you know some fast alternative like a key shortcut?
...
I am on windows XP want to build the programs on linux remote pc
i have eclipse Ganymede, CDT, RSE installed on remote machine... but how to configure all this?
am I doing correct? could anybody suggest
...
I have a code to concatenate strings. However, for some reason, the final string is not a combination of the required strings. Consider the following code :
//cusEmail is of type String[]
String toList = "";
for(i=0; i < cusEmail.length - 1; i++) {
toList.concat(cusEmail[i]);
toList.concat("; ");
System.out.println(cusEmail[...
Hi,
When using visual studio to develop c++ applications, I used to write _asm int 3; and then build the application. When the application is executed, if the code path that has "_asm int 3" is encountered Visual Studio Debugger used to get lauched and I could debug the problems.
Is there any similar approach when developing using Xcod...
I'm working on an existing class that is two steps derived from System.Windows.Forms.Combo box.
The class overrides the Text property thus:
public override string Text
{
get
{
return this.AccessibilityObject.Value;
}
set
{
if (base.Text != value)
{
...
So I'm debugging some websites (one from trunk, one from branch) running locally, in separate apppools. I have trunk and branch solutions open in two VS instances. I'd like to debug trunk in one, and branch in the other. I'd like to know if there's a way to know which application pool each w3wp.exe is serving, to know which one is whi...
I'm integrating a framework (Kohana 2.3.4), into a web-app (IPB 2.3.4/2.3.6) via a third party bridge library (IPBWI 2.07), and I began seeing the string NOT FOUND at the top of the web-page output.
How can I turn that message off?
I narrowed it down to a call to class_exists(...) in IPB. The call is working correctly, except for the p...
Hi, I'm running Appverifier in an application. When it detects a memory leaks the logs saids
"Address of the leaked allocation. Run !heap -p -a to get additional information about the allocation."
I guess that's when you are running in Windbg, is there any way to access the allocation stack trace from inside Visual Studio ?
...
I can't figure this out and I thought that someone might run through the same thing.
I have Xcode 3.2.3 (Pre Release with OS 4 beta) and I started to create my application, after the final touches and everything worked ok, I changed the Simulator - 4.0 to Simulator - 3.1.3 (latest iPhone OS) and I could never start my app again :-(
Doe...
I come from Java Background and so used to Debugging using Eclipse but have recently started on JavaScript(jQuery in particular) and am having really hard time debugging JavaScript Code so my question is
What are the best ways of Debugging JavaScript ?
I have tried using Firebug and it is good, but wanted to know
If we have any othe...
I'm using QT Creator on 3 platforms to create platform independent software. However, I'm getting a segmentation fault with the exact same code in Windows only. That doesn't sound so bad because I can use the debugger. Except, no matter how many breakpoints I set or where I set them, they are ignored by the debugger. I am 100% sure that ...
I have a Samsung Spica i5700 which I already have updated to Android 2.1. I am using the phone with an application called Run.GPS (http://www.rungps.net). This application logs data such as GPS position, route, speed, bearing etc. It can also log heartrate provided the user has a Zephyr HxM bluetooth heart rate monitor ("HxM"), which I d...
I have this property:
public SubjectStatus Status
{
get { return status; }
set
{
if (Enum.IsDefined(typeof(SubjectStatus), value))
{
status = value;
}
else
{
Debug.Fail("Error setting Subject.Status", "There is no ...
Sometimes I need to find out if an object will really be released. I could use Instruments of course, but that takes much time, and I have to search into millions of objects, so I used to do this:
-(void)release {
NSLog(@"I'm released");
[super release];
}
But the problem is: is this safe to do? Can I get any problems when I o...
Hi, I'm developing C extensions from python ad I obtain some segfaults (inevitable during the development...).
I'm searching a way to display at which line of code the segfault happens (an idea is like tracing every single line of code), how I can do that?
...