Click here to Skip to main content
16,006,348 members
Home / Discussions / C#
   

C#

 
GeneralRe: not catching my exception Pin
blakey40425-Jun-08 23:47
blakey40425-Jun-08 23:47 
GeneralRe: not catching my exception Pin
blakey40426-Jun-08 1:58
blakey40426-Jun-08 1:58 
GeneralRe: not catching my exception Pin
Pete O'Hanlon26-Jun-08 10:00
mvePete O'Hanlon26-Jun-08 10:00 
AnswerRe: not catching my exception Pin
leppie25-Jun-08 23:44
leppie25-Jun-08 23:44 
GeneralRe: not catching my exception Pin
blakey40425-Jun-08 23:49
blakey40425-Jun-08 23:49 
GeneralRe: not catching my exception Pin
leppie26-Jun-08 2:19
leppie26-Jun-08 2:19 
GeneralRe: not catching my exception Pin
blakey40426-Jun-08 2:34
blakey40426-Jun-08 2:34 
GeneralRe: not catching my exception Pin
leppie26-Jun-08 4:35
leppie26-Jun-08 4:35 
blakey404 wrote:
at System.Net.Mail.SmtpClient.Send(MailMessage message)


It must catch it (you still dont say the exact exception type I was asking for), if it does not, either your code is wrong, or something else.

So how do you get that stacktrace? How did you print it out/copy it?

I also note, you turned off debugging (and hence no linenumbers). It is not possible to accurately pinpoint the exact exception point in an optimized run mode.

Lastly debugging a service is no more dificult to debug than any other application.

1. Start service.
2. Set a few breakpoints.
3. Attach to service process with debugger.
4. Wait for exception.

xacc.ide - now with TabsToSpaces support
IronScheme - 1.0 alpha 4a out now (29 May 2008)

AnswerRe: not catching my exception Pin
Harvey Saayman25-Jun-08 23:49
Harvey Saayman25-Jun-08 23:49 
GeneralRe: not catching my exception Pin
blakey40425-Jun-08 23:51
blakey40425-Jun-08 23:51 
GeneralRe: not catching my exception Pin
Harvey Saayman25-Jun-08 23:54
Harvey Saayman25-Jun-08 23:54 
GeneralRe: not catching my exception Pin
blakey40425-Jun-08 23:57
blakey40425-Jun-08 23:57 
QuestionSoftware checker Pin
hellkiller25-Jun-08 23:20
hellkiller25-Jun-08 23:20 
AnswerRe: Software checker Pin
Abhijit Jana25-Jun-08 23:31
professionalAbhijit Jana25-Jun-08 23:31 
Questiongetting specified type of file from directory Pin
laziale25-Jun-08 23:05
laziale25-Jun-08 23:05 
AnswerRe: getting specified type of file from directory Pin
Christian Graus25-Jun-08 23:08
protectorChristian Graus25-Jun-08 23:08 
GeneralRe: getting specified type of file from directory Pin
laziale25-Jun-08 23:46
laziale25-Jun-08 23:46 
AnswerRe: getting specified type of file from directory Pin
Pete O'Hanlon25-Jun-08 23:21
mvePete O'Hanlon25-Jun-08 23:21 
GeneralRe: getting specified type of file from directory Pin
laziale25-Jun-08 23:32
laziale25-Jun-08 23:32 
GeneralRe: getting specified type of file from directory Pin
Christian Graus25-Jun-08 23:34
protectorChristian Graus25-Jun-08 23:34 
Questionhow can I get the cputime dedicated to a specific thread? Pin
fateme_developer25-Jun-08 22:38
fateme_developer25-Jun-08 22:38 
AnswerRe: how can I get the cputime dedicated to a specific thread? Pin
leppie25-Jun-08 23:07
leppie25-Jun-08 23:07 
GeneralRe: how can I get the cputime dedicated to a specific thread? Pin
fateme_developer26-Jun-08 0:19
fateme_developer26-Jun-08 0:19 
GeneralRe: how can I get the cputime dedicated to a specific thread? Pin
leppie26-Jun-08 2:24
leppie26-Jun-08 2:24 
GeneralRe: how can I get the cputime dedicated to a specific thread? Pin
fateme_developer27-Jun-08 19:15
fateme_developer27-Jun-08 19:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.