473,320 Members | 1,950 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Debug problem: "The breakpoint will not currently be hit. The specified module has not been loaded"

Ole
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
Aug 18 '06 #1
10 21766
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:
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
Aug 18 '06 #2
I'm guessing that there are (at least) 2 projects involved, one referencing
the other;

Usually this means that the running app has loaded its dll from elsewhere
(e.g. the GAC) and it doesn't match. Check the references, switching
(temporarily) to project referencing if it helps to debug.

Marc
Aug 18 '06 #3

Ole schreef:
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?

Aug 18 '06 #4
Hi,

Did you check if you have the project in Debug and not in release mode?
--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Ole" <ol*@blabla.comwrote in message
news:Oj**************@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

Aug 18 '06 #5
Ole
The project is in debug mode. Even if I do create a new empty Smart Device
project and don't do anything else than setting a breakpoint at
"InitializeComponents" I got the problem ?!?

How do I see if the file it actually tries to debug is the same file as the
project file?

Thanks for your replies!
Ole

"Bala" <a_********@hotmail.comwrote in message
news:11**********************@74g2000cwt.googlegro ups.com...
>
Ole schreef:
>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?

Aug 18 '06 #6
Ole
Have just tried a new project on a Pocket PC 2003 - there it works fine!
this means that it is only on my windows 5.0 device that debug doesn't work
(anymore - it used to).

Thanks
Ole
"Ole" <ol*@blabla.comwrote in message
news:uX**************@TK2MSFTNGP02.phx.gbl...
The project is in debug mode. Even if I do create a new empty Smart Device
project and don't do anything else than setting a breakpoint at
"InitializeComponents" I got the problem ?!?

How do I see if the file it actually tries to debug is the same file as
the project file?

Thanks for your replies!
Ole

"Bala" <a_********@hotmail.comwrote in message
news:11**********************@74g2000cwt.googlegro ups.com...
>>
Ole schreef:
>>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?


Aug 18 '06 #7
Ole
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

"Ole" <ol*@blabla.comwrote in message
news:Oj**************@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

Aug 18 '06 #8
Did you install a newer version of .NET CF 2 on your WM 5.0 device? If you
did you'll need to update your PC too or VS will continue using the older
version and so cannot debug.

"Ole" wrote:
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
Aug 19 '06 #9
Ole
Hi Gavin,

Yes I did update the CF 2 on the Windows CE device to the latest version
(actually I made the CE with Platform Builder with the juli update). How do
I install the corresponding Compact Framework for my VS2005 and where do I
find it ?

Thanks
Ole

"Gavin" <Ga***@discussions.microsoft.comwrote in message
news:1B**********************************@microsof t.com...
Did you install a newer version of .NET CF 2 on your WM 5.0 device? If you
did you'll need to update your PC too or VS will continue using the older
version and so cannot debug.

"Ole" wrote:
>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

Aug 19 '06 #10
Ole
Found it:
http://www.microsoft.com/downloads/d...DisplayLang=en
IT WORKS!!!
Thanks Gavin - you made my day!

Best regards
Ole

"Ole" <ol*@blabla.comwrote in message
news:O2****************@TK2MSFTNGP02.phx.gbl...
Hi Gavin,

Yes I did update the CF 2 on the Windows CE device to the latest version
(actually I made the CE with Platform Builder with the juli update). How
do I install the corresponding Compact Framework for my VS2005 and where
do I find it ?

Thanks
Ole

"Gavin" <Ga***@discussions.microsoft.comwrote in message
news:1B**********************************@microsof t.com...
>Did you install a newer version of .NET CF 2 on your WM 5.0 device? If
you
did you'll need to update your PC too or VS will continue using the older
version and so cannot debug.

"Ole" wrote:
>>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


Aug 19 '06 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: python-help-bounces | last post by:
Your message for python-help@python.org, the Python programming language assistance line, has been received and is being delivered. This automated response is sent to those of you new to...
5
by: msnews.microsoft.com | last post by:
Hi, I am having a problem that the gateway I am working with removes the "=" sign from values in the postfield that are empty. Example: page.asp?aa=&ff=&xx=12 become: page.asp?aa&ff&xx=12....
1
by: scott | last post by:
Hi, Does anyone know how to make available the "step into stored procedure" option when connecting to a remote SQL server (on lan) using VS 2003 ? note - win xp pro - 2000 domain - 2003...
86
by: Randy Yates | last post by:
In Harbison and Steele's text (fourth edition, p.111) it is stated, The C language does not specify the range of integers that the integral types will represent, except ot say that type int may...
3
by: Chris | last post by:
I m trying to create a C++ managed class to use it in C#. I m new to MC++ and interoperability and I try to find a bug since a long time without succes, maybe you can help me ? (I have a sample...
4
by: craig | last post by:
During construction of an object "parent", if you create a subobject that stores a pointer to the parent (through the "this" pointer), will that pointer be valid when the subobject is later called?...
1
by: madankarmukta | last post by:
Hi, Can anyone tell me the way "How can I debug the process using "windbg.exe" tool from Debugging Tool for Windows ? ". I had a little quest over this but not able to summarize the...
15
by: Kurda Yon | last post by:
Hi, I try to "build" and "install" pysqlite? After I type "python setup.py build" I get a lot of error messages? The first error is "src/ connection.h:33:21: error: sqlite3.h: No such file or...
1
FLEB
by: FLEB | last post by:
Something in my gut tells me this is an FAQ, but my furious Googling thus-far hasn't found the answer (Biggest problem? The terms I'm looking for are in the license itself. Search, and... get... 50...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.