VS2008 will not step into code or stop at breakpoints

A

Anthony Davis

I have VS2008 and an application developed using CF2.0/C#. I used to
be able to set breakpoints in my code and step into the application
while under the VS2008 debugger without issue. All of the sudden when
I deploy the application from inside the IDE it will not stop at a
breakpoint or allow me to step through the code.

Any ideas?
 
J

Jayesh

I have VS2008 and an application developed using CF2.0/C#. I used to
be able to set breakpoints in my code and step into the application
while under the VS2008 debugger without issue. All of the sudden when
I deploy the application from inside the IDE it will not stop at a
breakpoint or allow me to step through the code.

Any ideas?

Hi,
The same thing happened to me also before few days.
I am also having application developed in CF 2.0/C# VS2008.
I deleted all the dlls manually from the device, deployed application
and it got working.
Try this out.
Have you ever faced the problem of VS 2008 takes a too much time (5 to
7 min) in building and deploying an application?
 
A

Anthony Davis

Hi,
The same thing happened to me also before few days.
I am also having application developed in CF 2.0/C# VS2008.
I deleted all the dlls manually from the device, deployed application
and it got working.
Try this out.
Have you ever faced the problem of VS 2008 takes a too much time (5 to
7 min) in building and deploying an application?

I deleted all of the files, and set a breakpoint on Main then re-
deployed the application in Debug mode and it still didnt stop at the
breakpoint.
I did notice that there are not .pdb files being deployed to the
device even though the debug mode is set to full pdb.
 
J

Jayesh

I deleted all of the files, and set a breakpoint on Main then re-
deployed the application in Debug mode and it still didnt stop at the
breakpoint.
I did notice that there are not .pdb files being deployed to the
device even though the debug mode is set to full pdb.

Hi,
..pdb files are not copied to device.
They stay on deployer machine and keep the reference of breakpoints.
I am sure you have set the bulid configuration of each your project as
Debug.
Can you check deployment log in output window. Shortcut CTRL + W, O.
Do you find any entires saying "no symbols are loaded".
 
S

stealthrabbi

Anthony,

I had this happen with VS2005 before. It was corrected by
reinstalling the .NET CF on my host computer. The issue was becuase
the target device and host computer had mismatched versions of .NET, i
believe.
 

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