PC Review


Reply
Thread Tools Rate Thread

Debugging Unmnaged code?

 
 
troy anderson
Guest
Posts: n/a
 
      2nd Dec 2004
How do you debug unmanaged DLL's imported into CompactFramework? I have
tried to enable Debugging unmanaged on project Properties but it is grayed;
I surmise this is not supported for CompactFramework. Then I tried to run
the managed application that imports my DLL in eVC++. These are the steps:
-) Load the DLL's project into eVC++
-) Set my breakpoint in the DLL source code
-) Define the managed application (CompactFramework) application as the EXE
to launch for debugging (Settings->Debug tab)
-) Start the application via F5.

The application starts on the device but the eVC++ env does not respond. I
never hit my breakpoint but I know the code is executed because the
application shows this. When I exit the application eVC++ starts to respond
again. I am running with SP4 of eVC++ and SP2 of CompactFramework.

Thanks


 
Reply With Quote
 
 
 
 
=?Utf-8?B?TWFyayBBcnRlYWdhIDxNVlA+?=
Guest
Posts: n/a
 
      2nd Dec 2004
check out this article
http://www.opennetcf.org/Articles/pi...ng/pidebug.asp. It may help
out.

---
Mark Arteaga
..NET Compact Framework MVP
www.neotericsdc.com


"troy anderson" wrote:

> How do you debug unmanaged DLL's imported into CompactFramework? I have
> tried to enable Debugging unmanaged on project Properties but it is grayed;
> I surmise this is not supported for CompactFramework. Then I tried to run
> the managed application that imports my DLL in eVC++. These are the steps:
> -) Load the DLL's project into eVC++
> -) Set my breakpoint in the DLL source code
> -) Define the managed application (CompactFramework) application as the EXE
> to launch for debugging (Settings->Debug tab)
> -) Start the application via F5.
>
> The application starts on the device but the eVC++ env does not respond. I
> never hit my breakpoint but I know the code is executed because the
> application shows this. When I exit the application eVC++ starts to respond
> again. I am running with SP4 of eVC++ and SP2 of CompactFramework.
>
> 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
How can I skip debugging Ajax when debugging my code? AAaron123 Microsoft ASP .NET 3 28th Jul 2009 05:07 PM
Debugging Code Karen53 Microsoft Excel Programming 0 6th May 2008 07:25 AM
Debugging from Managed Code into unmanaged code Ed Microsoft VC .NET 2 7th Jul 2007 03:43 AM
Debugging code.... Sam Marrocco Microsoft VB .NET 5 2nd May 2004 04:08 AM
No Debugging of C# Server-Side Script, but Code-Behind Debugging Works Johann Blake Microsoft ASP .NET 1 5th Jan 2004 03:01 PM


Features
 

Advertising
 

Newsgroups
 


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