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 74267 - IDE to always query user for a rebuild if there are pending fixes
Summary: IDE to always query user for a rebuild if there are pending fixes
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-01 03:59 UTC by Thomas Preisler
Modified: 2010-06-20 15:29 UTC (History)
3 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Preisler 2006-04-01 03:59:59 UTC
Was CR 6322910

While analyzing edit/compile/debug flow scenarios it occured to me
that when starting to debug the user should be warned that there are
pending "fix"es (if there are any) and be asked if they want a rebuild,
_even_ if they have unchecked the build-before-debug toggle in the configuration.

To that end a configuration should contain a "pending-fixes" flag.
*** (#1 of 1): 2005-09-12 15:44:11 PDT ivan.soleimanipour@sun.com

Was CR 6317809
scenario:
User is debugging and applies a bunch of fixes.
They finish their debugger session, debug something else and come back
to debugging this. They have marked BuildFirst as false so none of their
bpts are valid, nor are their fixes applied as they start debugging again;

suggested remedy:
Have a project track pending fixes.
When debugging is initiated and BuildFirst is consulted and it's
false but there are pending fixes, give the user a second chance to
rebuild before proceeding with debugging.
This is similar to dbx "re-fixing" when you issue 'run'.

This notion can be generalized to a project being "dirty" causing
the rebuild query even if BuildFirst is false. But that would 
preclude the dialog that is presented ot the user from informing
them why a build is recommended.
*** (#1 of 1): 2005-08-30 14:10:47 PDT ivan.soleimanipour@sun.com
Comment 1 Thomas Preisler 2006-05-23 04:59:12 UTC
not sure if we need this anymore. Pls reopen if we do....
Comment 2 ivan 2007-06-12 21:58:51 UTC
I'm not on the cc list so how was I supposed to reopen this?
of course we still need this, or something like it.

Comment 3 Alexander Pepin 2007-12-21 12:50:11 UTC
It would be good and user friendly to have a notification dialog with a checkbox "do not show this dialog again" warning
a user in case the "Build First" option is off. It will also  have to have an option in project properties to switch
on/off this dialog.
Comment 4 Alexander Pepin 2008-07-31 15:26:57 UTC
It's rather an enhancement so I convert it to enhancement.
Comment 5 ivan 2008-07-31 20:21:06 UTC
Asking for functionality that doesn't exit doesn't
automatically make something be an RFE.

This is a design flaw in the integration of Fix and Continue
and the rest of the IDE. W/o this being fixed and under the Start model
the user is very likely to rerun their application and not see the
effect of their their latest code changes. This will seem to the user as
a bug and that is what matters.


Comment 6 Alexander Pepin 2008-08-12 16:47:59 UTC
from correspondence with Ivan, apepin wrote:
...it's rather a technical issue and as I understand you do not need a dialog with request, you just need a
"pending-fixes" flag in project system or elsewhere. Is it correct? Probably we need to change issue summary in
appropriate way to make more clear what the issue is about.
Comment 7 Leonid Lenyashin 2008-09-25 15:37:15 UTC
This one does not look to be cnd specific. It is probably better to transfer it to some more generic category. Java has
the same problem.
Comment 8 Leonid Lenyashin 2008-09-25 16:17:35 UTC
It also does not look as must "fix-in-65"
Comment 9 ivan 2008-09-25 19:25:45 UTC
I agree ... that's why it's a P3.
Comment 10 Alexander Simon 2008-11-19 08:28:43 UTC
reassign to evaluation
Comment 11 Lukas Hasik 2008-11-19 09:54:54 UTC
this has nothing to do with "openide". If I understood it correctly then it is about the "Apply Code Changes"? Or is it
something CND specific?  Or do you just need a dialog to be shown? Thne it is up to your code to show it in the right
time...

Anyway, reassigning to debugger maybe they will know what is it about. Please evaluate.
Comment 12 Martin Entlicher 2008-11-19 10:41:43 UTC
Hasiku, if you do not think this belongs to your component, move it back where it came from with request for better
specification what this is about. "Build First" is an option of CND project.