Setting a breakpoints in VS2005

  • Thread starter Thread starter Hunter
  • Start date Start date
H

Hunter

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.
'dummy.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols
loaded.
'dummy.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols
loaded.
'dummy.exe': Loaded 'C:\WINDOWS\system32\sysfer.dll', Binary was not
built with debug information.
'dummy.exe': Loaded 'C:\WINDOWS\system32\netapi32.dll', No symbols
loaded.
'dummy.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', No symbols
loaded.
'dummy.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', No symbols
loaded.
'dummy.exe': Loaded 'C:\WINDOWS\system32\secur32.dll', No symbols
loaded.
'dummy.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', No symbols
loaded.
The thread 'Win32 Thread' (0x12d8) has exited with code -1073741510
(0xc000013a).
The program '[5964] dummy.exe: Native' has exited with code
-1073741510 (0xc000013a).

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?

Kind Regards to all,
Igal.
 
Hunter said:
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?
 
Sometimes this behavior occurs if you have 3rd party
debugging tools/add-ins, like Compuware dev. partner.

--PA
 
Hunter said:
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...
 
Sometimes this behavior occurs if you have 3rd party
debugging tools/add-ins, like Compuware dev. partner.

--PA
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.
'dummy.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols
loaded.
'dummy.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols
loaded.
'dummy.exe': Loaded 'C:\WINDOWS\system32\sysfer.dll', Binary was not
built with debug information.
'dummy.exe': Loaded 'C:\WINDOWS\system32\netapi32.dll', No symbols
loaded.
'dummy.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', No symbols
loaded.
'dummy.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', No symbols
loaded.
'dummy.exe': Loaded 'C:\WINDOWS\system32\secur32.dll', No symbols
loaded.
'dummy.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', No symbols
loaded.
The thread 'Win32 Thread' (0x12d8) has exited with code -1073741510
(0xc000013a).
The program '[5964] dummy.exe: Native' has exited with code
-1073741510 (0xc000013a).
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?
Kind Regards to all,
Igal.

Well, I got MATLAB installed, but it shouldn't interfere.
 
Back
Top