Re: Setting a breakpoints in VS2005



On Jan 15, 6:37 pm, Hendrik Schober <spamt...@xxxxxx> wrote:
Hunter wrote:
On Jan 15, 4:21 pm, Hendrik Schober <spamt...@xxxxxx> wrote:
Hunter wrote:
Hi All,
The question I have is a stupid one, really. I'm used to the old VC6,
now I have to work with VC2005, and I'm unable to a thing as simple as
setting a breakpoint that would actually break the execution.
The project is configured to Debug mode, the breakpoint is in place,
but when I run the program, it just skips to the end, never breaking
on the breakpoint. Same things happens with "run to cursor".
Th emesage produced is:
'dummy.exe': Loaded 'C:\Documents and Settings\igal\My Documents
\Visual Studio 2005\Projects\dummy\debug\dummy.exe', Binary was not
built with debug information.
[...]
I'm sure it's something really stupid and basic, but still, used to
the VC6, I just can't do it.
Any ideas what did I do wrong?
  Up there it says "Binary was not built with debug information".
  Sounds fishy enough to me.

Kind Regards to all,
Igal.
  Schobi

Yeah, but wasn't it built so, I mean, the project setting says "debug"
configuration clearly enough. Any ideas?

I have no idea how you created your project and/or whether you changed
its configurations. Right click the project, click on "Properties" (at
the bottom), make sure you have the right configuration (upper left in
the property dialog), and browse through the project's settings. There's
debug settings buried somewhere in the compiler's section and in the
linker's. Are they checked?
If all else fails, disable "Suppress Startup Banner" in the compiler's
and in the linker's General section and post the command lines here,
hoping that someone looks at it and sees what's wrong.

HTH,

Schobi

Hello,

It was created as default "empty project" nothing special. Sort of
"hello world" start.

Darn...
.



Relevant Pages

  • Re: Setting a breakpoints in VS2005
    ... The question I have is a stupid one, ... I'm used to the old VC6, ... The project is configured to Debug mode, the breakpoint is in place, ... configuration clearly enough. ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Right Click context menu sometimes disables "Go To Definition" using VSl.NET 2005
    ... hover over the _DEBUG, there is no value shown and the AssertValid ... Also the the contained code for AssertValid() ... doesn't happen on a simple change of configuration. ... code in the code editor. ...
    (microsoft.public.vc.language)
  • Re: C++ debug/release builds and project references
    ... Is your class library in configuration "Release"? ... How do you add reference in the Winform project? ... suspect if you add the ManagedClassLib.dll in the debug folder. ... Creating command line "cl.exe ...
    (microsoft.public.dotnet.languages.vc)
  • Re: MFC Application has encountered a problem and needs to close. HELP
    ... the above error message offering me an option to send a message to Microsoft. ... Whenever I run the program in debug configuration it runs OK. ... This has absolutely nothing to do with "MFC exception handling", ...
    (microsoft.public.vc.mfc)
  • Error while trying to debug
    ... When I was trying to open one of my ASP projects somewhere else, I got the following error message: ... Check to see that the project has a valid Web.config file, that the Web.config file sets "debug" to true, and that the debug verb is associated with .aspx. ... An error occurred during the processing of a configuration file required to service this request. ... Source Error: ...
    (microsoft.public.dotnet.framework.aspnet.security)

Loading