PC Review


Reply
Thread Tools Rate Thread

cepview.exe for windows Mobile 2003

 
 
Zen
Guest
Posts: n/a
 
      9th Dec 2004
I try to view the thread in a process for a Windows Mobile 2003 device, and
the utility cepview.exe from embedded virtual tool does not seem to work
with 2003. It gave me the following error when I try to connect:

"cannot file appropriate device side files associated with this tool"

Also I use BugTrap from Windows Mobile Power tool, and it shows a lot more
thread create message than thread exiting message, I was worried about
memeroy leak. I remember seeing that there is not a 1 to 1 relationship
between a read thead and a DOTNET managed thread. This is why I wanted to
view the number of thread in the process.

Please help, thanks!


 
Reply With Quote
 
 
 
 
Daniel Moth
Guest
Posts: n/a
 
      9th Dec 2004
I don't own a WM2003 device but using eVC and its Remote process viewer I
can see thread info for managed processes on our device; maybe you should
try that.

In CF 1.0 there is a 1-to-1 relationship between managed/native threads. If
you are using threads from the ThreadPool (e.g. via Threading.Timer), you
will not see them exit immediately. Also not that every CF 1.0 app has 3
threads on startup growing to 4 when the finalizer thread kicks in; you will
not see this exit during the app's lifetime.

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


"Zen" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
>I try to view the thread in a process for a Windows Mobile 2003 device, and
> the utility cepview.exe from embedded virtual tool does not seem to work
> with 2003. It gave me the following error when I try to connect:
>
> "cannot file appropriate device side files associated with this tool"
>
> Also I use BugTrap from Windows Mobile Power tool, and it shows a lot more
> thread create message than thread exiting message, I was worried about
> memeroy leak. I remember seeing that there is not a 1 to 1 relationship
> between a read thead and a DOTNET managed thread. This is why I wanted to
> view the number of thread in the process.
>
> Please help, thanks!
>
>



 
Reply With Quote
 
Daniel Moth
Guest
Posts: n/a
 
      9th Dec 2004
....just noticed the subject of your post (cepview).. the "embedded virtual
tool" comment threw me...
In which case I have no alternatives to offer..maybe someone else will.

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


"Daniel Moth" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
>I don't own a WM2003 device but using eVC and its Remote process viewer I
>can see thread info for managed processes on our device; maybe you should
>try that.
>
> In CF 1.0 there is a 1-to-1 relationship between managed/native threads.
> If you are using threads from the ThreadPool (e.g. via Threading.Timer),
> you will not see them exit immediately. Also not that every CF 1.0 app has
> 3 threads on startup growing to 4 when the finalizer thread kicks in; you
> will not see this exit during the app's lifetime.
>
> Cheers
> Daniel
> --
> http://www.danielmoth.com/Blog/
>
>
> "Zen" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>>I try to view the thread in a process for a Windows Mobile 2003 device,
>>and
>> the utility cepview.exe from embedded virtual tool does not seem to work
>> with 2003. It gave me the following error when I try to connect:
>>
>> "cannot file appropriate device side files associated with this tool"
>>
>> Also I use BugTrap from Windows Mobile Power tool, and it shows a lot
>> more
>> thread create message than thread exiting message, I was worried about
>> memeroy leak. I remember seeing that there is not a 1 to 1 relationship
>> between a read thead and a DOTNET managed thread. This is why I wanted
>> to
>> view the number of thread in the process.
>>
>> Please help, thanks!
>>
>>

>
>



 
Reply With Quote
 
Zen
Guest
Posts: n/a
 
      9th Dec 2004
Daniel, I actually just discovered myself that if I install eVC4, the tools
works better with 2003, at least the process viewer works. but still not
all of them work though. Call profiler, remote performon, kernel tracker
still does not work.

I am seeing many thread hanging around even after the thread function has
exit.

Oh, just find that what I read about that there is not a 1 to 1 relationship
between real thread and managed thread is for regular framework. I think
you are right, as the managed thread goes up, I am seeing the real thread
goes up as well.


"Daniel Moth" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> ...just noticed the subject of your post (cepview).. the "embedded virtual
> tool" comment threw me...
> In which case I have no alternatives to offer..maybe someone else will.
>
> Cheers
> Daniel
> --
> http://www.danielmoth.com/Blog/
>
>
> "Daniel Moth" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
> >I don't own a WM2003 device but using eVC and its Remote process viewer I
> >can see thread info for managed processes on our device; maybe you should
> >try that.
> >
> > In CF 1.0 there is a 1-to-1 relationship between managed/native threads.
> > If you are using threads from the ThreadPool (e.g. via Threading.Timer),
> > you will not see them exit immediately. Also not that every CF 1.0 app

has
> > 3 threads on startup growing to 4 when the finalizer thread kicks in;

you
> > will not see this exit during the app's lifetime.
> >
> > Cheers
> > Daniel
> > --
> > http://www.danielmoth.com/Blog/
> >
> >
> > "Zen" <(E-Mail Removed)> wrote in message
> > news:%(E-Mail Removed)...
> >>I try to view the thread in a process for a Windows Mobile 2003 device,
> >>and
> >> the utility cepview.exe from embedded virtual tool does not seem to

work
> >> with 2003. It gave me the following error when I try to connect:
> >>
> >> "cannot file appropriate device side files associated with this tool"
> >>
> >> Also I use BugTrap from Windows Mobile Power tool, and it shows a lot
> >> more
> >> thread create message than thread exiting message, I was worried about
> >> memeroy leak. I remember seeing that there is not a 1 to 1

relationship
> >> between a read thead and a DOTNET managed thread. This is why I wanted
> >> to
> >> view the number of thread in the process.
> >>
> >> Please help, thanks!
> >>
> >>

> >
> >

>
>



 
Reply With Quote
 
Peter Foot [MVP]
Guest
Posts: n/a
 
      9th Dec 2004
The tools are tied to specific Windows CE versions - eMbedded Visual Tools
3.0 has tools which will work with Pocket PC 2000 / 2002. Since Pocket PC
2003 is based on CE.NET 4.2 you should use the tools shipped with eVC++ 4.0
Service Pack 2.

Peter

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org

"Zen" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Daniel, I actually just discovered myself that if I install eVC4, the
> tools
> works better with 2003, at least the process viewer works. but still not
> all of them work though. Call profiler, remote performon, kernel tracker
> still does not work.
>
> I am seeing many thread hanging around even after the thread function has
> exit.
>
> Oh, just find that what I read about that there is not a 1 to 1
> relationship
> between real thread and managed thread is for regular framework. I think
> you are right, as the managed thread goes up, I am seeing the real thread
> goes up as well.
>
>
> "Daniel Moth" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>> ...just noticed the subject of your post (cepview).. the "embedded
>> virtual
>> tool" comment threw me...
>> In which case I have no alternatives to offer..maybe someone else will.
>>
>> Cheers
>> Daniel
>> --
>> http://www.danielmoth.com/Blog/
>>
>>
>> "Daniel Moth" <(E-Mail Removed)> wrote in message
>> news:%(E-Mail Removed)...
>> >I don't own a WM2003 device but using eVC and its Remote process viewer
>> >I
>> >can see thread info for managed processes on our device; maybe you
>> >should
>> >try that.
>> >
>> > In CF 1.0 there is a 1-to-1 relationship between managed/native
>> > threads.
>> > If you are using threads from the ThreadPool (e.g. via
>> > Threading.Timer),
>> > you will not see them exit immediately. Also not that every CF 1.0 app

> has
>> > 3 threads on startup growing to 4 when the finalizer thread kicks in;

> you
>> > will not see this exit during the app's lifetime.
>> >
>> > Cheers
>> > Daniel
>> > --
>> > http://www.danielmoth.com/Blog/
>> >
>> >
>> > "Zen" <(E-Mail Removed)> wrote in message
>> > news:%(E-Mail Removed)...
>> >>I try to view the thread in a process for a Windows Mobile 2003 device,
>> >>and
>> >> the utility cepview.exe from embedded virtual tool does not seem to

> work
>> >> with 2003. It gave me the following error when I try to connect:
>> >>
>> >> "cannot file appropriate device side files associated with this tool"
>> >>
>> >> Also I use BugTrap from Windows Mobile Power tool, and it shows a lot
>> >> more
>> >> thread create message than thread exiting message, I was worried about
>> >> memeroy leak. I remember seeing that there is not a 1 to 1

> relationship
>> >> between a read thead and a DOTNET managed thread. This is why I
>> >> wanted
>> >> to
>> >> view the number of thread in the process.
>> >>
>> >> Please help, thanks!
>> >>
>> >>
>> >
>> >

>>
>>

>
>



 
Reply With Quote
 
Chris Tacke, eMVP
Guest
Posts: n/a
 
      10th Dec 2004
Or SP3, which allows you to choose which tool set to use (4.0, 4.1 or 4.2)

--
<ctacke/>
www.OpenNETCF.org
Your CF searches start and end here


"Peter Foot [MVP]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> The tools are tied to specific Windows CE versions - eMbedded Visual Tools
> 3.0 has tools which will work with Pocket PC 2000 / 2002. Since Pocket PC
> 2003 is based on CE.NET 4.2 you should use the tools shipped with eVC++
> 4.0 Service Pack 2.
>
> Peter
>
> --
> Peter Foot
> Windows Embedded MVP
> www.inthehand.com | www.opennetcf.org
>
> "Zen" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>> Daniel, I actually just discovered myself that if I install eVC4, the
>> tools
>> works better with 2003, at least the process viewer works. but still not
>> all of them work though. Call profiler, remote performon, kernel tracker
>> still does not work.
>>
>> I am seeing many thread hanging around even after the thread function has
>> exit.
>>
>> Oh, just find that what I read about that there is not a 1 to 1
>> relationship
>> between real thread and managed thread is for regular framework. I think
>> you are right, as the managed thread goes up, I am seeing the real thread
>> goes up as well.
>>
>>
>> "Daniel Moth" <(E-Mail Removed)> wrote in message
>> news:%(E-Mail Removed)...
>>> ...just noticed the subject of your post (cepview).. the "embedded
>>> virtual
>>> tool" comment threw me...
>>> In which case I have no alternatives to offer..maybe someone else will.
>>>
>>> Cheers
>>> Daniel
>>> --
>>> http://www.danielmoth.com/Blog/
>>>
>>>
>>> "Daniel Moth" <(E-Mail Removed)> wrote in message
>>> news:%(E-Mail Removed)...
>>> >I don't own a WM2003 device but using eVC and its Remote process viewer
>>> >I
>>> >can see thread info for managed processes on our device; maybe you
>>> >should
>>> >try that.
>>> >
>>> > In CF 1.0 there is a 1-to-1 relationship between managed/native
>>> > threads.
>>> > If you are using threads from the ThreadPool (e.g. via
>>> > Threading.Timer),
>>> > you will not see them exit immediately. Also not that every CF 1.0 app

>> has
>>> > 3 threads on startup growing to 4 when the finalizer thread kicks in;

>> you
>>> > will not see this exit during the app's lifetime.
>>> >
>>> > Cheers
>>> > Daniel
>>> > --
>>> > http://www.danielmoth.com/Blog/
>>> >
>>> >
>>> > "Zen" <(E-Mail Removed)> wrote in message
>>> > news:%(E-Mail Removed)...
>>> >>I try to view the thread in a process for a Windows Mobile 2003
>>> >>device,
>>> >>and
>>> >> the utility cepview.exe from embedded virtual tool does not seem to

>> work
>>> >> with 2003. It gave me the following error when I try to connect:
>>> >>
>>> >> "cannot file appropriate device side files associated with this tool"
>>> >>
>>> >> Also I use BugTrap from Windows Mobile Power tool, and it shows a lot
>>> >> more
>>> >> thread create message than thread exiting message, I was worried
>>> >> about
>>> >> memeroy leak. I remember seeing that there is not a 1 to 1

>> relationship
>>> >> between a read thead and a DOTNET managed thread. This is why I
>>> >> wanted
>>> >> to
>>> >> view the number of thread in the process.
>>> >>
>>> >> Please help, thanks!
>>> >>
>>> >>
>>> >
>>> >
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert Windows Mobile 2003 project to Windows Mobile 5 hytoma Microsoft Dot NET Compact Framework 2 19th Jun 2007 03:40 PM
Is it possible to develop app for Windows Mobile 2005 using Visual Studio.NET 2003 and Windows Mobile 2005 SDK? Ginny Caughey [MVP] Microsoft Dot NET Compact Framework 5 24th Jan 2006 07:55 PM
Can Windows Mobile 5.0 apps run on Windows Mobile 2003 Second Edition Devices? GRT Microsoft Dot NET Compact Framework 1 8th Aug 2005 09:16 PM
Pocket Access : is it available in Windows Mobile 2003 and Windows Mobile 2003 SE Venkat Polisetti Microsoft Dot NET Compact Framework 0 8th Apr 2005 02:00 PM
Re: Can Windows Mobile 2003 SDK be installed on Visual C# .NET Standard Version 2003 Dunster Microsoft Dot NET Compact Framework 4 25th Aug 2003 07:04 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:16 PM.