debugging

Debugging .NET dll from script component (SSIS)

Is there a way to debug .Net dll from SSIS Script Component which is being referenced. Thanks ...

Debuger.Lanch(), Trace.Assert(fail) not working

Hi! (Note, this question has been marked answered in http://stackoverflow.com/questions/985581/debugging-sharepoint-timer-jobs but I'm still having trouble) I'm unable to debug my SharePoint timer job. Usually I can do this by setting one of these: Debugger.Lanch() Trace.Assert(false) But a dialog is not shown. I have a log4net Out...

WinDbg - Problem with 'Open Executable'

Hello, I tried to debug a .NET console app using WinDbg. I normally do this by File -> Open Executable, then WinDbg would load up the selected exe. This was working for the .NET app mentioned. But now I get the following output every time: Microsoft (R) Windows Debugger Version 6.11.0001.404 X86 Copyright (c) Microsoft Corporation. Al...

cygwin multi-threaded c++ debugging with netbeans

When I debug my program with netbeans using cygwin's g++, when it receives a sigabrt, I can't see my code anywhere in the call stack of any of the threads. Most of them are at ntdll!RtlEnableEaryCriticalSectionEventCreation() and one in RaiseException(). The problem is that after these there are only either some win32 functions without a...

LD_DEBUG=files for Windows Visual Studio?

I'm quite stuck on a ddl loader problem under Windows Visual Studio 2009 C++. I have a framwork which loads plugins as DLL files, unfortunatly I have no sourcecode access to the framework. The dependency walker doesn't show any errors, but the framework just says "dependencies not found" when loading the plugin. I'm quite unfamiliar wit...

Objective C debugging

Hi, I was following the example on Beginning iPhone 3 Development. On Chapter 8 I made a mistake in code. - (NSMutableDictionary *)mutableDeepCopy { NSMutableDictionary * ret = [[NSMutableDictionary alloc] initWithCapacity:[self count]]; NSArray * keys = [self allKeys]; for (id key in keys) { id oneValue = [self valueForKey:k...

PyQt debugging in main loop

Hello. Can I debug PyQt application when is main loop running ? Pdb, NetBeans, PyDev, all "freeze" when sys.exit(app.exec_()) is executed. I probably missing something obvious. Or what can be problem, please ? I apologize for my "creepy" english. Thanks. ...

Detecting debugger on Mac Os X

Hi, I am trying to detect whether my process is being run in a debugger or not and, while in Windows there are many solutions and in Linux i use ptrace(PTRACE_ME,0,0,0) and check its return value, i did not manage to perform the same basic check on Mac Os X. I tried to use the `ptrace(PT_TRACE_ME,0,0,0)` call but it always retu...

When program run correctly while debugging but otherwise not?

Possible Duplicate: Common reasons for bugs in release version not present in debug mode Sometimes I encouter such strange situations that the program run incorrectly while running normally and it will pop-up the termination dialog,but correctly while debugging.This do make me frustrated when I want to use debugger to find the...

Analyzing a .Net application without VisualStudio

Is there a simple, free way to analyze .Net code (set breakpoint, see stack traces, see running threads) without Visual Studio? Note that I don't need to compile the code, just analyze how it works. I have both source code and binaries but I don't have a Visual Studio license. Unfortunately, the solution file gives several error when ...

Process for Debugging .NET inner guts

I'm wondering about people's process when they try to learn about the guts of .NET. Let me give a particular example to clarify. Recently, we found an error with the StateServer we are using on our .NET website. Sometimes its its starts tossing errors and our site goes crazy. The StackTrace reveals this occurs when: System.Web.Sess...

WinDbg/SOS: Explanation of !SyncBlk output

Hi! I am looking of a description of the output generated by the !SyncBlk command of SOS. Particularly I found no useful explanation on the column "MonitorHeld". This column shows high values in a series of crash dumps. Example: 0:000> !SyncBlk Index SyncBlock MonitorHeld Recursion Owning Thread Info SyncBlock Owner ...

How to attach VC++ debugger (or gdb) in this situation?

I'm running a typical producer and consumer process, but they are executed by using pipe in the command line like the following: c:\>producer | consumer producer is just printing out data to stdout, and consumer reads from stdin. My problem is that I want to debug consumer process. What is the best way to do it in both VC++ and gdb? ...

Project will not start in debug mode.

I'm using VS2008, and I have a project that will not start when I press F5 or when I click the little green triangle in the toolbar. The screen flickers once, like the project is going to run, and then it doesn't. The build message claims the build was successful, but the project won't start. In the Configuration Manager, my 'Active s...

Android: Eclipse MAT does not appear to show all my app's objects

I have created an hprof file by inserting the statement Debug.dumpHprofData("/sdcard/myapp.hprof"); in my app's code; I have then run the hprof file through hprof-conv and opened the converted file in Eclipse. Following the advice of the MAT "Cheat Sheet" I have obtained an analysis of my app's memory usage by going to "Leak Identificat...

Saving debugging state and backwards debugging with Xcode or friends

Hi, I am using Xcode in order to debug C++ programs. The main problem for me is that it takes around 10 munutes till the program gets to the point of the program that I need to debug. Then I realize about something inspecting the variables and some other stuff, and modify the code. Then 15 minutes again and so ... I wonder if there is ...

Debugging of CygWin gcc compiled programs by Visual Studio 2008

Is it possible to debug Windows hosted programs compiled by cygwin gcc by using Visual Studio debugger? ...

How to debug MPI application under Windows?

I have MPI program which I want to debug. I use mpich 2 under Windows, so does anybody know tools that can help me? Is it even possible? ...

Get filename of source JSP file (even if included)

I am trying to do some debugging of JSP files that include multiple levels of nested includes. e.g. foo.jsp <%@ include file="bar.jsp"%> bar.jsp <%@ include file="baz.jsp"%> baz.jsp <%@ include file="boz.jsp"%> To help determine where a certain file is actually included I placed a simple line to output a javascrip...

c++ RapidXml: reassign node pointer & mallocDebug

Hi, I started to use rappidXML a short time ago and I just noticed that when I reassign a node Pointer mallocDebug (I am using xCode on a mac) complains. This is what I do: xml_node<>* rootNode = doc.first_node("Root"); //find shaders xml_node<>* curNode = rootNode->first_node("Node1"); .... do something curN...