debugging

debug symbol issue

Hello everyone, I am interested in which symbol file is used when we analyze dump file using Windbg or Visual Studio. Suppose my application is using a utility library, and the utility library has related private symbol file. When there is crash dump in my application, I need the symbol of the utility library to analyze the full call st...

Debugging FLEX/AS3 memory leaks

I have a pretty big Flex & Papervision3D application that creates and destroys objects continually. It also loads and unloads SWF resource files too. While it's running the SWF slowly consumes memory til about 2GB when it croaks the player. Obviously I am pretty sure I let go of reference to instances I no longer want with expectation th...

Debugging Messaging Exception

We have a batch program that incorporates JavaMail 1.2 that sends emails. In our development environment, we haven't got the chance to encounter the above mentioned exception. But in the client's environment, they had experienced this a lot of times with the following error trace: javax.mail.MessagingException: 550 Requested action not ...

How do you attach a debugger to a Web service?

I am using a Web service. Can anybody tell me how to debug through it? ...

What's wrong with this algorithm?

This is an abstracted form of the bug that led me into the code that formed the basis of my prior question. It's obvious once you see it, but several professional programmers familiar with the original problem and original language looked over the code and overlooked the bug before we caught it (admittedly, in its native environment it ...

Under what circumstances can an assignment in C# not change a variable's value?

This behavior is so bizarre that I don't even know how best to ask the question. Given the following C# code snippet: public class Foo { private bool _value = true; // ... protected void Method() { _value = true; if(!_value) { throw new Exception("What the...?!?!"); } } } Attaching the Visual Studio deb...

C++ "this" doesn't match object method was called on

I have come across what seems like a really annoying bug running my C++ program under Microsoft Visual C++ 2003, but it could just be something I'm doing wrong so thought I'd throw it out here and see if anybody has any ideas. I have a hierarchy of classes like this (exactly as is - e.g. there is no multiple inheritance in the real code...

Where is the 'Autos' view in msdev 2005 ?

When debugging in msdev 2003, there is a very convenient 'Autos' window that show vars and values around currently-executed line. I cannot find anything similar in msdev 2005. Is it dead? ...

mscordacwks.dll and mscorwks.dll confusions

What are the different functions mscordacwks.dll and mscorwks.dll performing in .Net framework runtime, build and in debugging process? Are there any recommended readings for this topic? I have searched for quite some time but failed. thanks in advance, George ...

What is a good way to debug haskell code?

I have used the ghci debugger but would really prefer if it was somewhat integrated with a text editor to simplify the process of setting breakpoints. It should probably not strictly evaluate every visible variable but at least simplify the process of looking at the local state. I recently found the trace function which has been helpful...

Debugging Asp.net application

My project has 4 layers i need to debug from UI to DAL ,,but when i am debugging,its going only in UI,,can any one tell how can idebug up to Dal ...

How can I know the CLR version of a crash dump?

I have a minidump crashed from a .NET application. Is there any way to know the CLR version (e.g. version of mscorwks.dll) of the fault machine (which generates the crash dump) using either Windbg or some other tool? ...

Javascript debugger issue in VS2008

I'm having a really annoying problem with debugging javascript with VS2008. If I simply press F5 (or choose 'start Debugging' from the Debug menu), the iexplore process is attached, but no breakpoints break in the scripts. The Script Documents tree doesn't even appear in the solution explorer. I already know: I can set a breakpoint i...

Debugging IronPython scripts in hosted (embedded) environment

Hello, I'm writing a C# application which has IronPython (2.0.1) embedded in it. The idea is to expose portions of the application to the IronPython scripts, which the users write. I want to provide the ability to the users to be able to debug the scripts written by them, using the Visual Studio Debugger. Note that the scripts are run...

W3wp againt asp.net development server

can you explain w3wp ,,attaching to w3wp while debugging asp.net internal layers is good ...

VC90 Debug CRT error

I have created a Dll in VC++ 2008. But it is working with some other software (VB). Unable to load that dll function in Labview. VC90 Debug CRT error is coming. Why is this software not supporting my dll? ...

How to debug Silverlight against Google Chrome

Does anyone know how to debug a Silverlight 2 app running in Google Chrome from Visual Studio? Even after making sure that Chrome is the debugging browser, breakpoints are still not being hit. ...

Release vs Debug Build Times

I have always believed that Debug builds are slower than Release builds since the compiler needs to additionally generate debugger information. I was recently surprised to hear one of my colleagues saying that release builds usually take more time. (I believe that it is only because of incremental linking/compiling). In general, which o...

Set ViewData outside the controller

I'm trying to create a logger that will write the queries LINQ executes to the page formatted with the great javascript library SyntaxHighlighter. For that, I've set the DataContext's Log property to my custom logger, which is working well. Now I just need to get the current Controller object (outside the controller execution context) ...

Hitting breakpoints in Workflow Foundation (WF) designers

Hi folks, Is it true that you can't hit breakpoints in VS.NET 2008 workflow designer for workflows stored in a library, when invoked externally? I've got a Sequential Workflow Library project and a console app project in the same solution. I call the workflow from the app with code such as this (VB.NET): Dim wr As WorkflowRuntime =...