visual studio .net debugging:
Hey,
I've experienced similar behaviour in Visual Studio 2005. The problem
here seems to be the fact that the "modules" being started by the
debugger aren't the same as the source you're lediting and building.
For example (strongly simplified):
I'm editing a project in c:\VS2005\MyProject
I'm building the project to c:\VS2005\MyProject\Bin\Debug
The debugger starts c:\VS2005\OtherProject\Bin\Debug\project.exe
Hence, the wrong project is started!
I solved this issue by recreating the entire project from scratch
(select "New project" from the Visual Studio menu and manually add all
your source files using "Add existing item"). Somehow my project files
were totally f##ked up, so recreating these solved the problem.
Hope this helps,
Alke Wiebenga
Ole schreef:
[quoted text, click to view] > Hi,
>
> Using VS2005 and a windows CE 5.0 device running CF2. Suddenly I can't debug
> my C# program from VS2005 - when setting a breakpoint I only see a ring
> instead of the normal red dot and when holding the mouse over it I see a
> message saying: "The breakpoint will not currently be hit. The specified
> module has not been loaded". I have no problem when debugging a normal full
> framework application. I have not changed anything in my settings (afaik)
> and the problem is also present after a reboot and in a total new and
> default project !?!
>
> Searching Google gave no result so any help is highly appriciated.
>
> Thanks
> Ole
Ole schreef:
[quoted text, click to view] > Hi,
>
> Using VS2005 and a windows CE 5.0 device running CF2. Suddenly I can't debug
> my C# program from VS2005 - when setting a breakpoint I only see a ring
> instead of the normal red dot and when holding the mouse over it I see a
> message saying: "The breakpoint will not currently be hit. The specified
> module has not been loaded". I have no problem when debugging a normal full
> framework application. I have not changed anything in my settings (afaik)
> and the problem is also present after a reboot and in a total new and
> default project !?!
>
> Searching Google gave no result so any help is highly appriciated.
>
> Thanks
> Ole
Oh, sorry for my previous post. My bad!!! :)
I kinda read over the part where you say that you already tried
starting a new project.
The only reason I can think of is that the debugger is screwing up. It
loads modules which aren't tied to the source you're editing. Have you
checked out the debugger options (symbols etc.) for anything out of the
ordinary?
Have now tried to reinstall the SDK for the windows ce 5.0 device - it still
doesn't work. Any clue at all? Where can I find information concerning the
debug structure in VS2005 like what information does the .pdb file hold, how
is it generated, are there more files that are used for debug (the folder
contains a file that is called: "514c36bf-c13e-4091-a3a7-1e566227b20d" is
that used for debug) and etc. Please help!!!
Thanks,
Ole
[quoted text, click to view] "Ole" <ole@blabla.com> wrote in message
news:Ojqk9gswGHA.4476@TK2MSFTNGP02.phx.gbl...
> Hi,
>
> Using VS2005 and a windows CE 5.0 device running CF2. Suddenly I can't
> debug my C# program from VS2005 - when setting a breakpoint I only see a
> ring instead of the normal red dot and when holding the mouse over it I
> see a message saying: "The breakpoint will not currently be hit. The
> specified module has not been loaded". I have no problem when debugging a
> normal full framework application. I have not changed anything in my
> settings (afaik) and the problem is also present after a reboot and in a
> total new and default project !?!
>
> Searching Google gave no result so any help is highly appriciated.
>
> Thanks
> Ole
>