debugging

Can I step into the VCL (Pascal) code while debugging a C++ app?

I have a Delphi app that we're migrating to C++. One thing I often do while debugging my Delphi code is step into the VCL itself to understand exactly what's going on, to track some bugs. Is this possible in C++Builder? Suppose I am in C++Builder and I call "ShowMessage". Can I step into that call in my debugging session and switch to P...

Cannot debug into the code

in one line of my solution which is made of a couple of projects I want to debug one line of code, something like this: mThisLibrary.DoSthMethod(); but when I put my break point on that line and press F11, the debugger says that "There is no source code available" so I cannot get into it deeper. BUT the source code is there so for e...

WCF: How to diagnose faulted channels?

I'm working on shipping in a change for my lab that will hopefully help diagnose some weird channel-faulting weirdness we're seeing. There's a test application that uses DuplexChannelFactory to connect to a couple windows services, and for some reason the channels on this test application seem to be faulting quite a bit. I have plans to ...

When Java debugging what could cause my process to hang

I have a Java server process which does heavy processing. It intermittently stops processing, as in the log stops, and activity ceases but the process is still active. I have had this happen while debugging a few times. When it does I hit pause/break in the debugger so I can inspect the running threads and look for the cause of the st...

VS IDE Conditional Break Points

I'm using VS 2k8 SP1 (on Win2k8 x64 server), and I notice that a breakpoint with a condition set can produce quite flaky behavior, depending on how deep in the call stack the conditioned-breakpoint is found. So if I place it on a routine deep in my code, the program execution breaks at the right time (I can tell because of console outpu...

stuck debugging and fix was very simple

I don't know if this happens to you guys but sometimes I get so absorbed debugging an issue that the fix is right in front of your eyes and I can't see it. Getting a friend to look into your code sometimes helps. Its embarrassing at times, is it just me or this happens to others too? Any tips to avoid this. ...

better way to debug XAMPP authentication issue

Hi all: I've been working with a simple authentication process on localhost, here is the .htaccess file: AuthType Basic AuthName "Admin login page" AuthUserFile /Application/XAMPP/htdocs/.htpasswd AuthGroupFile /dev/null Require User [email protected] I have created the related .htpasswd file, the browser can prompt for me to...

AIRIntrospector.js dreamweaver not working

This is my first atempt at adobe air. I've installed the air extension for dreamweaver. I've included the AIRIntrospector.js in a script tag inside the head tag. When I preview the app I see no debug interface. What am I missing? ...

Can I use DbgEng extension DLL in custom application?

Hi all, I am curious can I use DbgEng extension without WinDbg. For example is it possible to use DbgEng extension from managed .NET application? Regards, Remsy ...

Passing arguments to Visual Studio's XSLT debugger

I'm debugging a transform with Visual Studio. The application that uses the transform normally also passes in some parameters: XslTransform xslTransform = new XslTransform(); xslTransform.Load(myXslt); XsltArgumentList transformArgumentList = new XsltArgumentList(); transformArgumentList.AddParam(paramName1, String.Empty, paramValue1); ...

What's the javascript equivalent of ruby's "inspect"?

In ruby, you can do foo.inspect() and it outputs something sane for any object pretty much regardless of type. How do I achieve the same thing in Javascript? ...

NetBeans + Ruby: Stop on All Errors

It might be obvious, but I started using NetBeans only recently. In Visual Studio one of my favorite debugging tools was "break on all errors", same in Firebug. But I can't find this option in NetBeans. What is the best way to break on Ruby error using NetBeans? ...

What tools are available for F# debugging?

Are there gdb (or similar) for F#? What tools/programs do F# programmers normally use for tracing F# code in Mono? Does Visual Studio 2010 provides some integrated debugging tools for F#? ...

How to get out of interactive mode in Python

This obviously an extremely novice question, but I've installed Python 2.7 and started reading the manual. However I looked and looked, and couldn't understand how to start programming a file rather than writing in interactive mode. One book that was online suggested quit(), which surprise -- quit the program. Should coding be done in a...

About debug UI of visual studio

When an exeption dialog pops up,which line actually has/triggers the problem, the line hinted by green arrow or the line above? Is there any official reference for this corner case? UPDATE So far it still seems that both are possible.Can anyone come up with a final conclusion? ...

vsjitdebugger alternative?

vsjitdebugger gets more annoying when i switched to windows 7. :( i'm a commandline person (vim, msbuild and vsjitdebugger) when developing .NET. I'm looking for a better vsjitdebugger alternative that automatically attaches the application to visual studio (or any application that is less annoying than vsjitdebugger.) TIA :) ...

Debugging SQL Server queries

I have a view which has started causing the following error: Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value 'R1500051' to data type int. The problem is, the query is quite big and complex (several sub queries, joins and function calls) and I have no idea where that error is actually coming from....

LAMP display php errors

I've installed developer's LAMP server and made changes on php.ini display_errors On display_startup_errors On but it doesn't display any errors or even a little warning, what's the problem, what's wrong? ...

Python hangs in futex calls

I have a Python daemon running in production. It employs between 7 and 120 threads. Recently the smallest instance (7 threads) started to show hangs while all other instances never showed this kind of problem. Attaching strace to the python process shows that all threads are calling futex FUTEX_WAIT_PRIVATE, so they are probably trying t...

Getting Eclipse debugger to pause when a certain object changes

Is there a setting to let the debugger in eclipse automatically pause when a variable or object changes? ...