Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / July 2007

Tip: Looking for answers? Try searching our database.

debugging IComparer exceptions

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
anonimo1@hotpop.com - 14 Jul 2007 18:52 GMT
Hello,

I'm very often in troubles debugging an ArrayList.Sort() method. I'm
so often getting this error:

"An unhandled exception of type 'System.InvalidOperationException'
occurred in mscorlib.dll

Additional information: Specified IComparer threw an exception."

and the call stack points just after the ArrayList.Sort() line.

I would really like the debugger to break into the IComparer
implementation pointing to the line throwing the exception.

I build several genetic optimizers, that sort genomes using complex
Fitness function and it's so bad I always need to perform a step by
step debug just to get to the line throwing the exception.

I'm using VisualStudio.net 2002.

I bet I'm missing something simple, but I've not been able to google
anything useful. Any help would be really much appreciated.

Thanks for your time.
Husam Al-A''araj - 14 Jul 2007 21:38 GMT
check this out

http://www.thescripts.com/forum/thread512205.html

Husam Al-áraj
www.aaraj.net

> Hello,
>
[quoted text clipped - 21 lines]
>
> Thanks for your time.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.