Auto open main function on debug

  • From: "kozin1972" < >
  • To:
  • Subject: Auto open main function on debug
  • Date: Sun, 28 Oct 2012 12:20:18 -0400

Leonid Lenyashin wrote:
> please specify NB version, OS and gdb version.
> On 10/13/2011 10:22 AM, ker wrote:
> > i press the debug button next to the run button. it doesn't stop at main, 
> > it just opens it and goes to the correct line.
> > 
> > 

Hello, I have the same problem.
When I start debugging my c++ code the main function is automatically 
displayed. It means the file containing the main function is scrolled to the 
function main. 
The debugger does not stop on the beginning of the main function. There is no 
breakpoint. Just scrolling happens. It is not convenient for me. Is it 
possible to disable this behaviour?

NB: 7.2
OS: Ubuntu 10.04 
kernel: 2.6.32-42-generic
gdb: 7.1-ubuntu

The problem appeared when I switched from NB 6.8 to 7.2.

Auto open main function on debug

kozin1972 10/28/2012

<Possible follow-up(s)>

Re: Auto open main function on debug

Egor Ushakov 10/29/2012

Project Features

About this Project

CND was started in November 2009, is owned by DimaZh, and has 187 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20160708.bf2ac18). © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
Please Confirm