-
as seen on Super User
- Search for 'Super User'
Hi,
I have the following problem. When I connect gdb to qemu for debugging it won't break on breakpoints. I can set breakpoints, break with ctrl-c etc.
Any clues how this can be fixed?
I have:
$ qemu --version
QEMU PC emulator version 0.11.0 (qemu-kvm-0.11.0), Copyright (c) 2003-2008 Fabrice Bellard
$…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I attached to a program with gdb in OSX and I want to use CFShow in the gdb console etc. However, nothing shows up. printf shows nothing as well:
(gdb) call (int) printf("Hello\n")
$10 = 6
(gdb) call (int) printf("Hello World!\n")
$11 = 13
Apple suggests the following tip for when attaching with…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello all,
Last week I was a debugging a code and a weird situation came up: gdb passes through two different return clauses. I made a simple example that illustrates the situation:
#include <iostream>
using namespace std;
int test() {
string a = "asd";
string b = "asd";
while…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I compiled GDB 7 on a Mac OS X Leopard system. When stepping through a C program, GDB fails to step through 'printf()' statements, which probably don't have associated debug information, and starts printing "Cannot find bounds of current function."
Here's some output:
$ /usr/local/bin/gdb try1
GNU…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
This is my first time creating an iPhone App and I am having difficulty with the memory management because I have never had to deal with it before.
I have a UITableViewController and it all works fine until I try to scroll down in the simulator. It crashes saying that it cannot allocate that much…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
When doing "Console" apps in Java with Eclipse, I see the output being put in a text box on the IDE itself, instead of having a Console popping up like in Visual Studio. This comes in handy, as even after the program has exited, I can still make good use of the text that was written in it, as it doesn't…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello everyone,
I need write a console application like as hiren boot screen:
User can input a arrow key or a number for choosing. When a menu item is selected, I will fill a background for the selected menu item.
Please give me some guideline or example. Thanks.
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am trying to write something.. to output to the console....
this is in my int main function......
using Foundation.Foundation;
NSString* myString = @"Output Test";
NSLog(@"%@", myString);
And I get the errors
Error 1 Syntax error, '(' expected
Error 2 ) expected
>>> More
-
as seen on Programmers
- Search for 'Programmers'
I am trying to run a program and the compiler seems to just crash right after it executes ... i have no build errors so i am wondering what the hell is going on ... I am a bit of a novice so all help would be appreciated =).
I don't know if you might have time to scan through the code but this is…
>>> More
-
as seen on Super User
- Search for 'Super User'
System: Windows 7 Professional 64bit. 8GB RAM, Intel i5-2400 CPU, +300GB free on the hard drive. AVG Internet Security 2012 (enabled & disabled, with firewall enabled and disabled - no effect for either). This computer is less than a year old.
Network: This problem is occurring on a single computer…
>>> More