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 89783

Summary: Terminate process form Runtime Explorer doesn't work when default output window is used
Product: cnd Reporter: Andrew Krasny <akrasny>
Component: -- Other --Assignee: issues@cnd <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description Andrew Krasny 2006-11-21 18:46:14 UTC
To reproduce:

1. Create new project
2. Create new c++ file:
#include <stdio.h>

int main(int argc, char**argv) {
   int i;

   printf("Enter some integer: ");
   scanf("%d", &i);
   printf("i is %d\n", i);
   
   return i;
}


3. Run the project 
4. While program is waiting for user input switch to Runtime Explorer and
terminate the process

You can see no processes in Runtime Explorer but external window with program
running is still open and alive.
Comment 1 alexandrov 2006-11-27 09:48:05 UTC
This bug is reproducible for Linux as well(for different external console
types). Closing IDE also do not terminate running process in spite of "Exit IDE"
warning window which informs user about terminating process.
Comment 2 _ gordonp 2006-11-28 19:52:12 UTC

*** This issue has been marked as a duplicate of 75120 ***