debugging

C++ Netbeans debugging issues

hi all ,I installed netbeans6.7.1 ide for c/c++ also i have mingw/msys cygwin installed and i have given C:\Msys\bin as environment variable path.It has gdb7 version.However wheni run dbugging thru netbeans it prompts that GDB version 0 not supported on this platform.Pls help I have made the project from existing files by giving netbeans...

How to debug firefox plugin?

I writing plugin for firefox and I need a way to debug it. Plugin written in javascript. So is there is a elegant way how I can debug it? ...

Debuging Classic ASP causes Visual Studio 2008 to Crash - How To Fix?

I'm debugging classic asp code using VS 2008 sp1 on windows 7. Everything works great, I attach to the process and can debug. However, If I stop debugging visual studio will crash. I read the recycling the app pool would help, but it has not helped me end a debugging session with out crashing. I have hunted through Google and stack o...

Can you #define a comment in C?

Hi, I'm trying to do a debug system but it seems not to work. What I wanted to accomplish is something like this: #ifndef DEBUG #define printd // #else #define printd printf #endif Is there a way to do that? I have lots of debug messages and I won't like to do: if (DEBUG) printf(...) code if (DEBUG) printf(...) .....

Debugging Django from the command-line

I'm working on debugging Django from the command-line. I'm working with django_extensions, and I have IPython installed and ideally I'd like to be able to extract as much information in the shell as possible. How would I go about this task most efficiently? ...

Visual Studio Immediate window: how to see more than the first 100 items

I am trying to see the properties of an object with over 300 properties in the Immediate Window of Visual Studio 2005. Only the first 100 items are displayed, followed by this caption: < More... (The first 100 of 306 items were displayed.) > I am trying to see the rest of the items, but can't figure it out. I realize that I could s...

How to open a url's returned content in an eclipse editor?

I'm debugging some xml returned from a URL and am using Eclipse's editor and XML validation to find problems. Currently that involves saving the XML returned from the URL and opening it in Eclipse, which is really tedious. Is there a way to more directly load the contents of a URL into an editor window in Eclipse? ...

Is there is any possibility to run a portable exe in debug mode(step-by-step) ?

i want to work with portable exe for some research ,here i need some tools to run an PE debug mode ....kindly help me .if any tool is available to run a pe in step-by-step method.. thanks in advance. ...

Internal compiler variables appearing in the debugger Locals pane with Rhino ETL

If you disassemble C# you often see temporary variables inserted by the compiler with names such as: CS$1$0000 But what would cause them to appear in the debugger Locals/Auto panes? A colleague of mine is trying to maintain a tool written using Rhino ETL. The symbols for his assembly are reported as loaded correctly by the debugger. ...

Can VS tell you how long you program has been running between breakpoints?

Basically I'm wondering if I can save myself updating my code with System.Diagnostics.StopWatch, and somehow just get away with using the debugging features of VS (2008 in particular) I.e. if I put a breakpoint before and after my method call, and then 'run' it. Is there anyway to tell how long VS was running before it stopped again? (O...

Can't debug movie in Flash CS4

(Working in Flash CS4) I'm able to set a breakpoint in my main class and I will see all of the debugger panel buttons active. But once I step in to a portion of the code, the debugger panel buttons for "step in", "step over", etc. are grey. My movie is probably stopped, potentially at another breakpoint. I have no control to continue ...

Is my HTML "leaking", because it is showing abnormal behavior.

When I put this code outside of the <table>...it will work. <script type="text/javascript"> $(function(){ $("#stars-wrapper1").stars({ oneVoteOnly: true }); }); </script> <form> <div id="stars-wrapper1"> <input type="radio" name="newrate" value="1" title="Very poor" /> <input type="radio" name="newrat...

Debugging Stored Procedure in SQL Server 2008

Is there any way to debug a stored procedure on SQL Server 2008? I have access to use SQL Server Management Studio 2008 and Visual Studio 2008 (not sure whether either provides this functionality). Generally I use the SQL profiler to find the parameters passed to the stored proc, however would like to be able to step through the proce...

high speed tracing

I have an embedded board with a 32 Micro-controller, and an custom built OS, Unfortunately, as of now, connection to the PC is only through serial port, Internal memory is limited to 512KB. There are at-least 10 tasks in the system Question, I want to capture the sequence in which task switch happens, And when I try to write in...

How to verify that a ViewController and its View were correctly deallocated?

I've got an app that initially loads in one view controller for a period of time before it's replaced by a UINavigationController (and its corresponding root view controller) in the Window's view. Once the app is being managed by the Navigation Controller I am releasing the previous View Controller and its View. It's difficult for me to...

Debug PHP and Control Flow?

I am an autodidact so dont know much about conventional web development however, I have wrote a complete social networking website yet I dont know how to debug. My website has some problems and I need to learn debuggin things around/ First of all I need instructions how to install Xdebug on WAMP (since I use phpDesigner). I tried a lot ...

Debugging multi threaded environment in .net

I have an application that uses background workers. There are places that a background worker starts from a timer tick event. How can I prevent the code from jumping in debug to the timer tick? Should I manage the timer in another thread?? ...

iphone simulator => debugging terminated

When I start my iPhone application it boots up fine, shows the first settings screen and all after I have given input and pressed save, the debug window says; "Debugging Terminated" without any hint to why in the crash logs. First I thought it was my programming, but then I went ahead and test the app on multiple 'real' iphones and it n...

How to let the debugger stop anywhere?

Example: I run my app in the simulator. Then I want to figure out what exactly is going on when I touch a button. Normally I would first have to find out where the entry-point of all this madness is in order to place a breakpoint. But now lets assume my app has 700 classes and it's incredibly complex, with more than 12.000 methods. Chanc...

Can one configure gdb/ddd to never step into certain functions?

I have some infrastructure C++ code (containers, memory managers etc.) and I want the debugger to never step into those methods while debugging an application issue. I know this can be done with Visual Studio and I have used that before on other projects: http://stackoverflow.com/questions/626744/is-there-a-way-to-automatically-avoidin...