I'm learning C++ and I want to know what is the best C++ debugger for Linux, because there are some things, that is better to use a debugger to get here in Stack Overflow and ask very very simple questions that can be easily solved by a debugger.
Also, there is any book to learn how to use this debugger?
...
How can I make gdb interrupt (like in breakpoint) the program at the point where an exception is thrown, and interrupt again on rethrows and beginnings of the relevant catch blocks?
...
I'm looking for a debugging tool that will run my Python app, but display which line is currently being processed -- like an automatically stepping debugger. Basically I want to see what is going on, but be able to jump in if a traceback occurs.
Any suggestions?
...
My website doesn't seem to display any element or content when viewed on IE even though source code is viewable, but on firefox and chrome it loads fine. What is up???
http://uber-upload.com
I don't remember ever trying to load my website with IE, so i can't confirm if it ever has worked with IE. Please help me debug =/. WADAFA!??! Tha...
I have an application that I need to debug on a target system.
All the relevant TRACE macros are in place to send messages to the debug window, however, I'm having difficulties in finding a way to prevent the spam there.
You see, this application is regularly creating & terminating threads, so I am getting a large amount of "The thread...
So it's the third week of my life in C and I've been given the task of writing a program which takes in upto 100words which are upto 80characters long, calculates the average word length of the inputs, prints words larger than the average, and finally prints the average word size.
EDIT: We also have to use an emalloc, a recursive output ...
If I have some information like:
AppName: myapp.exe
AppVer: x.x.x.x
ModName: kernel32.dll
ModVer: 5.1.2600.3541
Offset: 00012a6b
Is it possible for me to determine what function exists at offset 00012a6b in kernel32.dll?
...
I have a test that passes if I am not debugging the test:
Snippet:
using (var reader = dbUtility.ExecuteReader(cmd))
{
if (reader != null)
{
while (reader.Read())
{
In my Arrange step, I set up a stub that will return one row's worth of information. The part that breaks during debug only is the reader.Read() c...
Are there any good free tools? I would appreciate easy scripting with preferably python, ruby or some other higher level language than C. Ollydbg is my current favourite, but I haven't found good scripting interface plugins for it. I've also tried older version of IDA pro, but I'm not so fond of it.
...
Today, for no reason, my rails(2.1.0) application is very slow or even not responding.
It happens intermittently.
So sometimes it works but again it doesn't work.
When it doesn't work, I can't even load 'script/console production'.
I want to know where it's stuck.
How do I load console step-by-step so that I can know which part causes t...
On a brand new Vista machine, I'm getting the following error - instantly - whenever I try to start a project in debug mode:
Attempted to read or write protected
memory. This is often an indication
that other memory is corrupt.
I don't buy the "other memory is corrupt" part of the message. I thought the error might be related...
Hey all. Is it possible to step through a sproc on sql server 2000 server using vs 2008?
When I go through the server explorer and choose to step into the sproc, it asks me to enter the param values and then it gives me the output of the sproc, without stepping into it.
...
I'm having a problem with setting up a WCF web service integration with a 3rd party. It appears that it's not correctly deserializing the response object, I'm just getting a null from the web service call.
The 3rd party is using this web service framework, which has a large set of abstract and complex types for performing simple operat...
Hi,
I'm trying to debug an old VC6 dll, I manage to go through the code but unfortunately my vc9 debugger doesn't show the content of the variables in the dll. (browsing info I guess)
I manage to see the content of my dll when I debug it in VC6 but I would prefer to be able to debug in the same time as my managed code.
Maybe I'm miss...
Hi
I have an application that I have converted to Delphi 2009 I have "String format checking" On and the standard memory manager. I downloaded the MS debugging tools at http://www.microsoft.com/whdc/devtools/debugging/install64bit.mspx and got some debug files but I am not sure what to make of them. I would like some pointers on where ...
I am trying to do something like this on an indexer class:
[DebuggerDisplay("Debug: {_Items[index]}")]
public override string this[byte index]
However, when the debugger evaluates the string, the message in the value field is "index does not exist in the current context".
Is there some way to use the DebuggerDisplay attribute...
i want to use aptana.log to write messages in aptana console view without having to switch to debug view which launch external browser (firefox) , i already have console.log in firefox, i want to log messages in aptana console without launching external browser ?????
...
I have a C/C++ program that might be hanging when it runs out of memory. We discovered this by running many copies at the same time. I want to debug the program without completely destroying performance on the development machine. Is there a way to limit the memory available so that a new or malloc will return a NULL pointer after, sa...
Hi,
I was refactoring some code in a web application today and came across something like this in the base class for all webpages:
if (Request.QueryString["IgnoreValidation"] != null)
{
if (Request.QueryString["IgnoreValidation"].ToUpper() == "TRUE")
{
SessionData.IgnoreValidation = true;
}
}
To me, this appears t...
Hello,
I have a small WCF service which is executed on an XP box with 256 megs of RAM running in VM. When I make a request to that service (request size approx 5mbs) I always get following message in event log:
aspnet_wp.exe was recycled because memory consumption exceeded the 153 MB (60 percent of available RAM).
and call fails w...