• Answers
  • Web
Personalize Yedda, (And make Danny Happy)
People ask & answer about almost everything. Tell us what you're interested in... So we can personalize Yedda especially for you
I'm interested in:
Originated from
Advanced .NET Debugging

Getting WinDbg to break on encountering the "Ambiguous match found" exception.

This question is related to Eran Sandler's post on the "Ambiguous match found" exception encountered in ASP.NET 

I tried Eran Sandler's suggestion on using WinDbg to help find out exactly which variable is a duplicate but after attaching to the w3wp.exe process and then getting the "Ambiguous match found" exception to happen, windbg doesn't break. Could there be something I'm doing wrong with WinDbg?

Thanks

PS: I posted this same question on Eran's blog but after a recent post by Eran, I thought it would be better to ask the question here.


Share Send to a friend Watch Report
 
 

2 Posted Answers
Order by

 
207 helpful answers

They're coming to take me away, Ha-haaa!

Advanced .NET Debugging Blog

My personal blog

Sometimes in WinDbg managed exceptions are not enabled, so the debugger won't break on them.

Unfortunately I'm not near a computer with WinDbg, so I'm doing this from memory. In one of the menus (I think Debug) there is something that is called Exceptions or Filters or something.

It should open a list of all available exception type. For Windows, all managed exceptions looks the same, so you'll need to enable the "CLR Exceptions" option and then it will break on all managed exceptions (some of which might not be the exception you are looking for).

From there you can continue with what I've written in my post

You can look in WinDbg help about enabling and disable certain types of exceptions.

If you still need help and it doesn't help you I will be around a WinDbg and a normal computer in about two weeks and I'll help you a bit more Cool.

Posted 2006-10-06T08:36:21Z
Eran was invited by Yedda to answer this question.

Helpful?(2)
Rated as Best Answer
 

Thanks.  That worked and WinDbg was able to break at one of a number of CLR exceptions.  

Posted 2006-10-06T15:13:59Z

Sign in to participate

Got an answer for kipphoward? Would you like to comment on the posted answers, or vote for the one which you think is the best?

Sign up for a free account, or sign in (if you're already a member).

Explore Related Questions

Other people asked questions on similar topics, check out the answers they received:


Q:

WinDbg and C# Applications

What is WinDbg and can I use it to debug applications written in C#?
Submitted by kazabubu   3 years ago.
  • viewed 3310 times
Last answer posted 3 years ago by hmemcpy


Q:

Using SOS from within Visual Studio

I sometimes use WinDbg and the SOS extension to debug my applications. There is a lot of good and useful functionality like seeing ...
Submitted by d01   3 years ago.
  • viewed 1195 times
Last answer posted 3 years ago by Eran


Q:

Semaphore timeout in IIS logs

I get sc-win32-status 121 "The semaphore timeout period has been reached" in our IIS logs. sc-bytes shows 0 and time-taken is 20 ...
Submitted by nufsaid   2 years ago.
  • viewed 918 times
Last answer posted 2 years ago by profitbob



» More...

Explore Related Posts in Forums

Finding memory leaks using windbg

Hello everybody, I'm trying to find a memory leak in a dotnet-app using windbg and the sos WinDbg and saved the dump. I looked a little bit further and found the following: For some if there's a deadlock using the SOSEX extension for WinDbg - it has a very useful !dlk command

How to use WinDbg to analyze the crash dump for VC++ application.

Hi Any one knows how to use the windbg for analyzeing dump file. Please share the info how to analyze crash dump using windbg. Thanks, Haranadh This is a really broad question. The first step is to load the dump file into a windbg instance

Biggest windbg pet peeve

What is your biggest pet peeve related to the windbg debugger from microsoft? (note: I actually really like windbg if I ignore the unpolished UI.) from inside windbg. At least there's the Alt-1 workaround. How insanely slow .kdfiles copies new
» More...
Powered by
Feed - Subscribe to changes to this Q&A Blog
ADVERTISEMENT
  • Answers
  • Web
Copyright © 2006-2009, Yedda Inc. and respective copyright owners · CC License