debugging

Why isn't 'git bisect' branch aware?

I'm trying to find the source of a bug that's come up since a commit in the past day on a long lived branch (which will be released much much later) called feature-x. There's a bug though. I find behavior that I don't expect from my script which might have been introduced in any of the commit's up till now, specifically because features...

How to debug an assembled program?

I have a program written in assembly that crashes with a segmentation fault. (The code is irrelevant, but is here.) My question is how to debug an assembly language program with GDB? When I try running it in GDB and perform a backtrace, I get no meaningful information. (Just hex offsets.) How can I debug the program? (I'm using NASM ...

How do I debug an Actionscript project in Flex builder?

I am trying to use Flex builder for the first time in years. I haven't used the "Run Application" option before, and when I do that now it tells me "Errors exist in required projects" and whether I should proceed. I would like to debug those errors. Does anyone know how I can do that? PS: When I click the "Debug" button, it does exact...

What flags do you set for your GFORTRAN debugger/compiler to catch faulty code ?

Hey you guys, i think i wont find that in any textbook, because answering this takes experience. i am currently in the stage of testing/validating my code / hunting bugs to get it into production state and any errors would lead to many people suffering e.g. the dark side. What kind of flags do you set when you compile your program fo...

How to stop with debugger on NoMethodError in NetBeans when running Ruby?

Netbeans 6.9 JRuby 1.5.0 rails 2.3.4 Error example: NoMethodError in Report#week Showing app/views/report/_list_record.html.erb where line #26 raised: You have a nil object when you didn't expect it! The error occurred while evaluating nil.sorting .... I can set up breakpoints, the debugger works fine. But when I have a NoSuch...

How can I get debug information printed on a J9 VM (Linux)?

Hello! I'm using J9 VM to run my application on a Linux machine (BusyBox). When developing and testing on my Windows environment, also with J9, I get full debug information on stack traces. That doesn't happen on the Linux machine. I've checked both VMs configuration as much as my knowledge permits. Also, I've stripped my windows J9 in...

Excel Performs Two Requests on Hyperlink Click

Hi, I used the HYPERLINK method to display a hyperlink in a cell. I have Fiddler running and I have noticed that two requests are sent to the same url for each click on the link. Has anyone else experienced this? Have you found a way to only send a single request? (I have tried using the AutoCorrect feature to display a hyperlink,...

Is there a way in javascript to get the scope of an object?

Are there any properties one can use or web tools so I could evaluate the scope of two javascript objects at runtime? ...

Is there any script debugging tool for Internet Explorer and Google Chrome?

I have tools like firebug and web developer to debug the code with firefox browser is any similar tool we can use with google chrome and internet explorer ...

How to debug a threadpool in Visual Studio?

I'm quite new to the multithreading environment and I'm having trouble debugging an application which makes use of a threadpool created by the elapsed event in System.Timers.timer class. I have a breakpoint set inside a method which is called each time by the elapsed event, but Visual Studio's is jumping between lines of code because it ...

How to find why my application becomes unresponsive at unaccessible customer sites

My application is deployed at customer sites, that I can not access, and has no internet connection. There are complains that in serveral sites, once in a week or so, the application become unresponsive, so that the operators need to kill and restart it. We were unable to observe it in our site. Is there something I can do that may he...

How do I get DebuggerBrowsable RootHidden to work?

I read about the DebuggerBrowsable attribute yesterday, and it sounded great, however when I tried to get it to work in a test, It doesn't seem to make any difference. I am using VS 2008 version 9.0.30729 1 SP, .Net 3.5 SP1, MSTest framework [TestClass] public class TestingDebuggerBrowsable { [TestMethod] pub...

winforms control for viewing object details

hi. I need to display some sort of detailed information about an object in my custom win form application. something similar as visual studio uses when debugging. does any of you know something that might help. I know, I can write something on my own, but I don't intent to. thanks ...

possible heap corruption (win 32, native c++)

I'm working with a single-threaded native c++ application. There is a very hard to reproduce bug that I cannot reproduce locally. I enabled full page heap and debug information in the release executable, and obtained dumps from a client (which has to use the application many days to get the bug). What the client reports: the applicatio...

Is there a way to debug Android kernel code?

I've got some trouble with the media backend (mostly Stagefrightplayer) in Android, and I'd like to understand why it throws the errors it does. The errors are usually device spesific, so debugging on an emulator wouldn't be sufficient. Example: I/AwesomePlayer( 147): mConnectingDataSource->connect() returned -1004 V/MediaPlayerServi...

Can't find JavaScript Syntax Error

Hi there, I'm just about to freak out. I currently have to work on a website that some other guy did and I am asked to maintain etc. It uses jQuery and a bunch of drupal modules. At some point i get some syntax error, so that some js works, and some does not. My big big problem is to find the syntax error. Neither Firebug, nor WebInspec...

Visual Studio 2008 debugging question

I've had an issue with Visual Studio that has been bugging me for some time. Whenever I debug a program that uses the C++ STL and I use Step Into the debugger shows me the code in the files where the data structure I'm using is implemented. How can I turn this feature off? I want the debugger to always stay in the file that I'm debuggin...

Improvements in debuggers?

Have there been any improvements in debuggers in the past 20 years or so? When I start up pdb I feel like nothing has changed. Am I missing something huge? What innovations, specifically, have been added to debuggers in recent years? ...

What methods can I use to reproduce a sporadic IE "A script on this page is causing Internet Explorer to run slowly" notification?

I'm trying to replicate a bug which the client has reported, it's the "this script is running slow" notification which appears in IE due to it's extremely slow JS/DOM parsing. This doesn't occur on my virtualbox IE6 ( client has IE6 ) nor does it work on a test machine I have ( some mac mini ). I can guarantee that there's a lot of JS ...

C++: how to debug a "General Protection Exception"?

hi, i've faced an unhandled exception of "General Protection Exception". while the program runs but there is no output. i wanted to know what are general efforts i can do to debug such an Exception? thanks ...