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.
Created attachment 106180 [details] screenshot of the disassembly window When I select Window-->debugger-->disassembly during a debug session in a .cc file, it works fine. If, however, the current stack frame is in an inline method, the screen will flash what looks like assembly code and go blank. See attachment. Yes, -g is in effect for the compile.
Product Version: NetBeans IDE Dev (Build 201102170501) Java: 1.6.0_23; Java HotSpot(TM) Client VM 19.0-b09 System: Linux version 2.6.35.10-74.fc14.x86_64 running on i386; UTF-8; en_US (nb) Userdir: /home/toddb/.netbeans/dev
could you please provide steps to reproduce the issue, did you activate a frame or just stepped?
> could you please provide steps to reproduce the issue Hmm... The code I work on is quite large (> 1M lines). I could try to write you a project... could I suggest: - create code in a c++ class, declarations in foo.h, implementation in foo.cc - implement method A in the .cc file - implement method B as an inline in a .h file - step into A and open the disassembly windows (should work) - step into B and open the disassembly window (should be blank) If its not blank, then there is some other factor. > did you activate a frame or just stepped? Both
I will try, could you at the same time try console gdb to be sure that this is not gdb problem?
reproduced, will try to fix
fixed in: http://hg.netbeans.org/cnd-main/rev/53015e08808f
Integrated into 'main-golden', will be available in build *201102240001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/53015e08808f User: Egor Ushakov <gorrus@netbeans.org> Log: fixed #195684 (disassembly does not work for inline methods)
Integrated into 'main-silver', will be available in build *201704080002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/9508a657fe53 User: Egor Ushakov <gorrus@netbeans.org> Log: fixed #195684 (disassembly does not work for inline methods)