Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: How to get a stack trace...

3 views
Skip to first unread message

Sergey Bogdanov

unread,
May 16, 2005, 5:04:56 AM5/16/05
to
Unfortunately there is no way to retrieve stack trace in CF v1.0
application. However it is possible to see stack trace when you have run
application in debug mode (by pressing F5 in VS).

Best regards,
Sergey Bogdanov
http://www.sergeybogdanov.com


glynnd wrote:
> Does anyone know how to retrieve the stack trace in the compact framework?
> Its a property of the exception object in the full framework but missing from
> CF.
>

glynnd

unread,
May 16, 2005, 5:24:02 AM5/16/05
to
The exception object has very few properties however without any exception
management a system error dialog is displayed that has much more information.
I think the message is only displayed when compiled for 'debug' and providing
system.en.dll is installed. Where can I get the same information...I want to
create an XML exception log file?

Daniel Moth

unread,
May 16, 2005, 9:14:40 AM5/16/05
to
As Sergey said, stacktrace is not obtainable programmatically. It is
possible with CF 2.0, as is global exception handling:
http://www.danielmoth.com/Blog/2004/12/stacktrace.html

Cheers
Daniel
--
http://www.danielmoth.com/Blog/


"glynnd" <gly...@discussions.microsoft.com> wrote in message
news:84A8CFB5-C01E-4E04...@microsoft.com...

glynnd

unread,
May 16, 2005, 9:41:06 AM5/16/05
to
I do understand that but can you shed light onto where the system dialog gets
the extra info from...

Daniel Moth

unread,
May 16, 2005, 10:14:57 AM5/16/05
to
Sorry, not really.


"glynnd" <gly...@discussions.microsoft.com> wrote in message

news:EC04A819-FB55-4F5E...@microsoft.com...

Alex Feinman [MVP]

unread,
May 16, 2005, 8:15:42 PM5/16/05
to
This information exists inside CF runtime, but there are no external hooks
into it.

--
Alex Feinman
---
Visit http://www.opennetcf.org


"glynnd" <gly...@discussions.microsoft.com> wrote in message

news:EC04A819-FB55-4F5E...@microsoft.com...

0 new messages