Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-1398

Attach profiler to existing process fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 9.0, Next
    • None
    • profiler - Attach
    • None
    • Mac 10.10 JDK 10.0.2

    Description

      It seems to succeed, but HotSpotVirtualMachine.loadAgentLibrary is expecting execute to return "return code: 0". It is instead returning "0", so it thinks it failed.

      Call Stack:

      HotSpotVirtualMachine.loadAgentLibrary:98    
      HotSpotVirtualMachine.loadAgentLibrary:115    
      HotSpotVirtualMachine.loadAgent:139    
      NetBeansProfiler.loadAgentIntoTargetJVM:791    
      NetBeansProfiler.attachToApp:759    
      ProfilerLauncher$ProfilerSessionImpl$1.run:112    
      RequestProcessor$Task.run:1418    
      GlobalLookup.execute:45    
      Lookups.executeWith:278    
      RequestProcessor$Processor.run:2033   

      Attachments

        Activity

          People

            Unassigned Unassigned
            Sir Intellegence Austin Stephens
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: