One of my pet peeves with debugging Perl code (in command line debbugger, perl -d) is the fact that mistakenly printing (via x command) the contents of a huge datastructure is guaranteed to freeze up your terminal for forever and a half while 100s of pages of data are printed. Epecially if that happens across slowish network.
As such, I...
I was using the Java debugger within Intellij 8 and noticed a button labeled "drop frame", does anybody know what purpose this serves? How/why would this be used/useful?
...
Hello,
How to learn advanced debugging techniques?
I am a C/Unix programmer, and as such rely on a good C debugger. I know Sun^WOracle mdb on Solaris, GNU gdb on Linux. I feel comfortable setting breakpoints, examining memory structures and such.
Yet, I know that those tools are way more powerful than that. Macros, custom walkers and ...
Anyone aware if it is possible to create MS Visual Studio Debugger visualizer of expanding data in an Expression Evaluator (EE) Addin dll? Meaning to do in you Addin dll same as autoexp.dat's [Visualizer] section does. In particular "children" expanding.
...
This is kind of a vague question, but is there anything I can do about visual studio slowing down an application? If I run the executables outside of visual studio it runs at a very acceptable speed. If I run it inside visual studio with the debugger enabled it runs nearly 200x slower. I have tried to uninstall and reinstall visual studi...
I have a controller with a action similar to this
class EventsController < ApplicationController
....
def test
Events.first.test
end
....
end
and a model similar to this
class Event < ActiveRecord::Base
....
def test
debugger
end
....
end
What confuses me is that, when the action is tri...
Hi,
My debugger is not working,
I'm putting a breakpoint, but in run, time visual studio doesn't stop on the breakPoint.
How to fix it?
There is nothing special in my application, it is a simple web application.
I am using visual studio 2005.
I've created a new web application project, and on the default.aspx page there is a obout gri...
I'm having a problem displaying the contents of a pointer array with its contents in the debugger. If I just add the pointer to the watch only the fist entry is visible. But if I add the length to it the debugger assumes that I have something like array[length][length].
Picture
The first entry is the broken one, looks the same with ,2 ...
How should I import rpdb2; rpdb2.start_embedded_debugger(), but only if my Python program is not already being debugged by rpdb2?
...
In XCode, there doesn't seem to be an obvious way to do this. Visual Studio's debugger provides a keyboard shortcut which sets a temporary breakpoint on the line selected in the code window, runs the debugger to that point, and then removes the breakpoint. In XCode, it seems that you have to manually set and remove the breakpoint to ac...
Hi there!
I'm trying to debug a simple BDD test using cucumber. In order to do that, I inserted a debugger statement where I would like to break the control flow. But it seems that cucumber ignores this statement.
I'm running the tests executing:
rake cucumber:wip
It's rather simple, so I think the code isn' t worth pasting here. T...
I need to walk a link list in the kernel debugger. How can I determine the head pointer and walk the list?
I have a listing and can find the address and location in the code where I check to see if I have a head, so I know the specific code location and address. But not sure how to determine the pointer or how to determine the next elem...
I have a solution that includes a Web Site (created using the web site template not the web app project template - converting isn't an option, btw).
When I rebuild all, the compile succeeds, but strangely displays 3 errors, all of which are "Could not get dependencies for project reference 'PROJNAME'". When I try to launch the debugger...
when I debug a flex application in the properties of display objects i also see variables that start with a dollar sign, like: $alpha, $width, $x, etc..
what are they?
are they different from the "normal" alpha, width, x properties?
...
At work we tend to all use the same useraccount on a development system - this means we can only have one instance of dbxtool running at a time!
If you run as a different user then you are unable to attach to running processes that belong to the main user account.
Apart from habitually running dbxtool as root, is there a way to force m...
I've got a special combo box with a very long list of items (a few thousand) that has to be calculated when you open it. When I was testing something, I was horrified to find that it took about a minute to open. So I hooked the program (same build, same options) up to Sampling Profiler to see what was taking so long, and it only took a...
Recently I've started plaing with assembler under linux, there's good debuger, but comming from Ruby I'm missing simple REPL that would let me enter a line of assembler code and see the result on registers flags and stack.
Can anyone point me in good direction?
...
Firebug has a multiline feature in their console tool. Is there a way to get this functionality with the debugger tool in Safari/Chrome?
...
I have almost the same problem as this unanswered question. The only difference is I'm using VS2008, but I'm in an MVC project calling this javascript function:
function CompanyChange(compCtrl) {
alert(compCtrl.value);
debugger;
var test;
for (var i = 0; i < document.all.length; i++) {
test = document.all[i];
}
}
I hit the alert...
I'm using Visual C++ 2008 Express Edition and when i debug code:
double x = 0.2;
I see in debugging tooltip on x 0.20000000000000001
but:
typedef numeric_limits< double > double_limit;
int a = double_limit::digits10
gives me: a = 15
Why results in debugger are longer than normal c++ precision?
What is this strange precision base...