PC Review


Reply
Thread Tools Rate Thread

Debug Unit Tests on Windows Mobile VS2008

 
 
Roman Mellenberger
Guest
Posts: n/a
 
      26th Feb 2009
Hi,

I have just tried to debug my unit test methods written for a solution
with VS2008. Unfortunately I'm not able to debug theese tests and the
application. The breakpoints during test are never hit. I have checked
the following configurations:


Target Device: WM 5.0 Pocket PC (Symbol MC70)
- Debug of Application -> OK
- Debug of unit Tests -> Breakpoints not hit

Target Device: WM 5.0 Pocket PC Emulator
- Debug of Application -> OK
- Debug of unit Tests -> Breakpoints not hit

Target Device: WM 6.0 Classic Emulator
- Debug of Application -> OK
- Debug of unit Tests -> Breakpoints not hit

Can anybody help me with this issue?

Thanks in advance
Roman
 
Reply With Quote
 
 
 
 
Chris Tacke, eMVP
Guest
Posts: n/a
 
      26th Feb 2009
The debug breaks will never be hit. For the inordinately painful process of
debugging the unit tests see this:

http://msdn.microsoft.com/en-us/library/bb513875.aspx

And this important note:

http://blogs.msdn.com/davidklinems/a...nit-tests.aspx


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com


"Roman Mellenberger" <(E-Mail Removed)> wrote in message
news:34b1a805-ca4d-4a21-a737-(E-Mail Removed)...
> Hi,
>
> I have just tried to debug my unit test methods written for a solution
> with VS2008. Unfortunately I'm not able to debug theese tests and the
> application. The breakpoints during test are never hit. I have checked
> the following configurations:
>
>
> Target Device: WM 5.0 Pocket PC (Symbol MC70)
> - Debug of Application -> OK
> - Debug of unit Tests -> Breakpoints not hit
>
> Target Device: WM 5.0 Pocket PC Emulator
> - Debug of Application -> OK
> - Debug of unit Tests -> Breakpoints not hit
>
> Target Device: WM 6.0 Classic Emulator
> - Debug of Application -> OK
> - Debug of unit Tests -> Breakpoints not hit
>
> Can anybody help me with this issue?
>
> Thanks in advance
> Roman



 
Reply With Quote
 
Roman Mellenberger
Guest
Posts: n/a
 
      26th Feb 2009
This works but as you said - very painful.
If there is a betther solution coming up please let me know...

Thanks
Roman



 
Reply With Quote
 
Chris Tacke, eMVP
Guest
Posts: n/a
 
      26th Feb 2009
I certainly hope a better solution is coming as well.

-Chris


"Roman Mellenberger" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> This works but as you said - very painful.
> If there is a betther solution coming up please let me know...
>
> Thanks
> Roman
>
>



 
Reply With Quote
 
Roman Mellenberger
Guest
Posts: n/a
 
      27th Feb 2009
I just found an excellent method to debug unit tests with Windows mobile:

http://www.clariusconsulting.net/blo...31/114595.aspx



"Roman Mellenberger" <(E-Mail Removed)> schrieb im
Newsbeitrag news:(E-Mail Removed)...
> This works but as you said - very painful.
> If there is a betther solution coming up please let me know...
>
> Thanks
> Roman
>
>




 
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
VS2008: Where are the Windows Mobile project templates? Serge Wautier Microsoft Dot NET Compact Framework 1 23rd Feb 2008 09:40 AM
How can I run the Unit Tests using nUnit NW Technicals Microsoft ASP .NET 1 21st Mar 2007 02:06 AM
Unit Tests using the Mobile Client Software Factory - HELP! =?Utf-8?B?a2JfZ3Jva2ty?= Microsoft Dot NET Compact Framework 0 30th Aug 2006 06:54 PM
Unit tests for C++ projects Viviana Vc Microsoft VC .NET 1 4th Aug 2006 12:55 AM
What Unit Tests? Chris Burgess Microsoft VB .NET 1 19th Oct 2005 04:09 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:43 PM.