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.
There is a delicate problem with run profiles and debugger (and run). We can't use a cloned version due to the dbxgui is currently using it. It wants to set values in the project's run profile. And we can't use the original version because on Windows we need the modified PATH which is in the clone. Added this hack that meidigates the regression: DbgActionHandler.java: private void doExecute(final String executable, final DebuggerManager dm, final InputOutput io) { final Configuration configuration = pae.getConfiguration(); final RunProfile profile; // The following is a hack to work around issues with dbxgui interaction with run profile. // We can't use the clone becasue of dbxgui and and we can't use the original because of on windows we want to use a modified PATH. // We need to figure out a better solution but this should work for now (with no regressions) // See CR xxxxxx int platform = ((MakeConfiguration) configuration).getDevelopmentHost().getBuildPlatform(); if (platform == PlatformTypes.PLATFORM_WINDOWS) { profile = pae.getProfile(); // Use clone on windows because of modified PATH } else { profile = configuration.getProfile(); // Don't use clone on Solaris/Linux beacuse of interaction with dbxgui. It sets values with for instance runargs xxx ... } We will need to rethink how we handle this and come up with a better solution, for instance asking dbxgui not to modify run profile.
searching for changes changeset: 189417:fa04550fc4b9 user: Thomas Preisler <thp@netbeans.org> date: Thu Feb 24 15:43:31 2011 -0800 summary: #195975 can't use cloned and can't use original run profile changeset: 189418:bbf19d37c56d tag: tip user: Thomas Preisler <thp@netbeans.org> date: Thu Feb 24 15:48:37 2011 -0800 summary: #195975 can't use cloned and can't use original run profile
Things to try (in Studio with dbxtool): 1) Stop in a project 2) in dbx's commandline window type: runargs 111 222 3) open project's properties and view arguments in Run Command. They should now be 111 222 4) change the arguments and click OK. This should trigger the command "runargs xxx..." in dbx's command line window. 5) same two-way changes should work with debug property options.
Integrated into 'main-golden', will be available in build *201102260001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/fa04550fc4b9 User: Thomas Preisler <thp@netbeans.org> Log: #195975 can't use cloned and can't use original run profile
There was no activity on this issue for quite a long time. We apologize that the issue was not addressed so far due to lack of development resources. We might not have time in near future to fix this problem, so it is closed as WONTFIX. If the issue is still critical for you please do not hesitate to REOPEN it. Thank you for using our product and reporting bugs. We are really sorry that we were not able to fix this issue timely. Regards, CND team.