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 89780 - Debugging and Running pages in Project Properties are corrupted in debug mode
Summary: Debugging and Running pages in Project Properties are corrupted in debug mode
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Thomas Preisler
URL:
Keywords:
: 103360 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-11-21 18:15 UTC by Vladimir Voskresensky
Modified: 2007-12-26 11:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Voskresensky 2006-11-21 18:15:19 UTC
Some information how to reproduce:
1) used the following program Args:
#include <stdio.h>
#include <string.h>
#include <stdlib.h>

int main(int argc, char**argv) {
    int i;
    
    // Prints arguments
    printf("Arguments:\n");
    for (i = 0; 0 < 1; i++) {
        
        printf("%i: \n", i);
    }
    return 0;
}

2) changed the project properties:
Properties->Running->Console Type OutputWindow as output
3) Run the project and wait until program stops print in output
=>
1) wait till IDE become unresponsiveness
2) kill IDE outside of IDE
3) start IDE again in *debug mode* and try to open Running or Debugging pages of
Project Properties => they are empty 
Seems incorrect serialization of something...
But if rebuild the project Args => pages are restored
Comment 1 Vladimir Voskresensky 2007-01-27 02:05:29 UTC
use AuxiliaryConfiguration to prevent problems of non-determinant modules
loading order (with reading their configurations from project system).
http://www.netbeans.org/download/5_0/javadoc/org-netbeans-modules-projectapi/org/netbeans/spi/project/AuxiliaryConfiguration.html
Comment 2 Thomas Preisler 2007-02-02 23:59:31 UTC
This is a serious design flaw in project system that needs to be addressed in
5.5.1. Not sure yet exactly what the solution is.
Comment 3 Thomas Preisler 2007-04-10 21:49:52 UTC
Fixed by moving registering of configuration providers to a service.
Comment 4 Thomas Preisler 2007-05-10 20:50:16 UTC
*** Issue 103360 has been marked as a duplicate of this issue. ***
Comment 5 Thomas Preisler 2007-05-10 20:51:08 UTC
*** Issue 103360 has been marked as a duplicate of this issue. ***
Comment 6 soldatov 2007-12-26 11:35:22 UTC
verified in 200712260000 build