Code Monkey home page Code Monkey logo

Comments (7)

smiley22 avatar smiley22 commented on July 20, 2024

Thanks for reporting. I mainly use Gmail for testing and I haven't experienced this behaviour before. I'll look into it and see if I can figure anything out.

from s22.imap.

smiley22 avatar smiley22 commented on July 20, 2024

Do you still experience this? I can't seem to reproduce this on my end...Have you tried checking out the latest version of the library?

from s22.imap.

bmt22033 avatar bmt22033 commented on July 20, 2024

I do. I replied to your gmail account with some debugging info.

from s22.imap.

smiley22 avatar smiley22 commented on July 20, 2024

Ah sorry, I misread your original post, those debug messages can be safely ignored, IMO.

From my understanding, a first chance exception is harmless...in some scenarios, you expect some exceptions to happen (like in ParsePriority and some other methods) and the debugger reports those as first-chance exceptions.

Check out this MSDN article about first and second chance exception handling:
http://support.microsoft.com/kb/105675/en-us

from s22.imap.

bmt22033 avatar bmt22033 commented on July 20, 2024

Thanks for the MSDN link!


From: smiley22 [email protected]
To: smiley22/S22.Imap [email protected]
Cc: bmt22033 [email protected]
Sent: Saturday, February 2, 2013 9:58 AM
Subject: Re: [S22.Imap] Exceptions from ImapClient.GetMessages() (#27)

Ah sorry, I misread your original post, those debug messages can be safely ignored, IMO.
From my understanding, a first chance exception is harmless...in some scenarios, you expect some exceptions to happen (like in ParsePriority and some other methods) and the debugger reports those as first-chance exceptions.
Check out this MSDN article about first and second chance exception handling:
http://support.microsoft.com/kb/105675/en-us

Reply to this email directly or view it on GitHub.

from s22.imap.

NiKiZe avatar NiKiZe commented on July 20, 2024

Regarding this I'm starting to see performance issues that might be because of these first chance exceptions.
Assumption partly based on:
http://msdn.microsoft.com/en-us/library/vstudio/ms229009%28v=vs.80%29.aspx

Added null checks to avoid most of these, found them using: http://blogs.msdn.com/b/davidklinems/archive/2005/07/18/440150.aspx

from s22.imap.

Basic0 avatar Basic0 commented on July 20, 2024

Did you ever implement these null checks in s22?

I'm seeing a lot of them while parsing old emails and although the mail is read correctly, it's causing enough cpu overhead that it's showing up in my performance stats...

from s22.imap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.