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.
I have an application with two threads calling one method. If I invoke 'Show Back Traces' in snapshot on this method I get different caltrees for each thread. If I invoke the action on method called from main thread it shows only the main thread back traces but if I invoke it from another thread it shows back traces from both threads.
I cannot reproduce this. I am trying with this application: /* * Main.java * * Created on November 23, 2005, 1:00 PM * * To change this template, choose Tools | Template Manager * and open the template in the editor. */ package javaapplication4; /** * * @author Ian Formanek */ public class Main { public static void testMethod () { System.out.println("Test"); Thread.dumpStack (); } /** Creates a new instance of Main */ public Main() { } /** * @param args the command line arguments */ public static void main(String[] args) { new MyThread ().start (); testMethod (); // TODO code application logic here } public static class MyThread extends Thread { public void run () { testMethod (); } } } anf the back traces are correct whatever thread they are displayed from (both from call tree and from hotspots). Please attach the sample app and/or the snapshot.
verified
Closing old issues
Reverting to original Target Milestone value changed by mistake. Sorry for inconvenience.