Microsoft CLR Debugger in Compact dot net framework

G

Guest

Hello friends,

Is it any option for Microsoft CLR Debugger in Compact dot net framework.
Is any tool avaliable for debugging in compact dot net framework?

-PHIJO MATHEW PHILIP.
 
R

Robert Janik

I use Visual Studio 2005 for development and it allows to run a PPC
application in debug mode and do everything (or almost everything) as if you
were debugging on PC. I have a problem when I run an application and need to
attach the debugger to the process. VS2005 displays a list of all processes
on PPC (which is an excellent feature), but when I select the process and
click attach, VS is doing something for about 10 second and shows a message

"Unable to attach to the process. Attach is not enabled for this process
with this debug type."

I compiled the project with debug settings, but I believe I forgot to set
something else.

I strongly suggest to use VS2005, it is getting better and better and
debugging features are now probably exceeding those in WinDbg.
 
R

Robert Janik

I resolved the issue with attaching the debugger to a process. On the device
I have to set registry settings

For key HKEY_LOCAL_MACHINE\SOFTWARE\Microsot\.NETCompactFramework\Managed
Debugger

create DWORD AttachEnabled 0x1

It reduces performance, so it should be used only when debugging
applications, otherwise set to 0x0.
Original article

http://msdn2.microsoft.com/en-us/library/ms228818.aspx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top