Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 321834 - string xx=0; compile without errors and later crash debugger
Summary: string xx=0; compile without errors and later crash debugger
Status: RESOLVED NOT_ECLIPSE
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug (show other bugs)
Version: 8.0   Edit
Hardware: PC Windows XP
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: cdt-debug-inbox@eclipse.org CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-05 05:02 EDT by JMM CLA
Modified: 2011-06-22 18:56 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description JMM CLA 2010-08-05 05:02:59 EDT
Build Identifier: helios

string xx=0; compile without errors.
Later when execute the debugger cause a crash.
Another suggest:
drop to frame is deactived in debugger.
step into selection don't exist.
Greetings.

Reproducible: Always

Steps to Reproduce:
1.string xx=0; compile ok
2. execute debug
3. crash.
Greetings.
Comment 1 JMM CLA 2010-08-05 05:04:01 EDT
version of c++ is helios.
Comment 2 Elena Laskavaia CLA 2010-08-05 07:52:57 EDT
So what crashed? Eclipse? Of debugger? 
If debugger you should the bug to your debugger, what is it gdb?.
Comment 3 JMM CLA 2010-08-05 08:05:56 EDT
I used:
debuger->>GNU gdb (GDB) 7.0.1
compiler->>MinGW-5.1.4.exe
eclipse->>Build id: 20100617-1415

the error is that the compiler not detected as error:
string xx=0;  ->>correct is string xx="0";
is normal that larter the debugger don't start.

is there something debuger that support "drop to frame" or "select into selection" for c++?

Greetings.
Comment 4 Henning Riedel CLA 2010-08-15 09:05:20 EDT
Well, you might have to report that against GCC, since the compiler itself is not giving any warnings even with -Wall applied.

(In reply to comment #3)
> I used:
> debuger->>GNU gdb (GDB) 7.0.1
> compiler->>MinGW-5.1.4.exe
> eclipse->>Build id: 20100617-1415
> 
> the error is that the compiler not detected as error:
> string xx=0;  ->>correct is string xx="0";
> is normal that larter the debugger don't start.
> 
> is there something debuger that support "drop to frame" or "select into
> selection" for c++?
> 
> Greetings.
Comment 5 JMM CLA 2010-08-16 03:29:50 EDT
I go to test gcc compiler.

If you get developement that the debuger support "drop to frame" or "select into
selection" for c++, warn me I am very interested.

Thanks very much.
Comment 6 Chris Recoskie CLA 2011-06-21 15:08:48 EDT
I think we ought to just resolve this as NOT_ECLIPSE.  Committers, what say ye?
Comment 7 Marc Khouzam CLA 2011-06-21 15:12:24 EDT
(In reply to comment #6)
> I think we ought to just resolve this as NOT_ECLIPSE.  Committers, what say ye?

+1
Comment 8 Chris Recoskie CLA 2011-06-22 18:56:29 EDT
Resolved as NOT_ECLIPSE.