This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 119071

Summary: Impossible to debug a new application
Product: cnd Reporter: Alexander Pepin <apepin>
Component: DebuggerAssignee: _ gordonp <gordonp>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P1    
Version: 6.x   
Hardware: Macintosh (x86)   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

Description Alexander Pepin 2007-10-16 16:08:25 UTC
Steps to reproduce:
- create a new C++ Application
- add a new main C++ file to the sources
- insert the following code in the main C++ file:

#include <stdlib.h>

//
class A{
    int a;
};
// 
class B: public A{
    float b;
};
//
class C{
    int* pI;
    B* pB;
public:
    C(){
        pI = new int(10);
        pB = new B();
    }
};
//
int main(int argc, char** argv) {

    C* pC = new C();

    C* cc[4];

    for(int i=0; i<4; i++){
        cc[i] = new C();
    }
    
    return (EXIT_SUCCESS);
}

- build the project
- do step into project, works fine
- finish debug session
- set a breakpoint at the first executable line in main function ( C* pC = new C(); )
- run debugger
Result: Debugger does not start correctly. Only "Finish" debugger button is available. Debugger does not navigate to
source code. LV shows "There is no current thread to display the variables for".
 See also issue #119061
Comment 1 _ gordonp 2007-10-17 16:44:36 UTC
Fixed
Comment 2 Alexander Pepin 2007-10-18 14:33:23 UTC
Verified in nightly build 20071017
Comment 3 Alexander Pepin 2007-10-18 16:42:56 UTC
see comments above