M
mtczx232
I read that NetBean have it, I try simple main code:
public static void main(String[] args) {
// TODO code application logic here
int a=3;
a=9; <<<<<<<
}
I try to change the Value assignment to "a" at last line. and I realize
that no way to execute this line again. in short no way to step
reverse. so for this cases we need to change current value in watches
window and change the source code for next run. it's true?
but what we can do if have a complicate algorithm and have fix with
some parameters, how we suppost to use with this featurse?
I read about stack call, but I try this code:
static int aa(){
return 6;
}
public static void main(String[] args) {
// TODO code application logic here
int a=3;
a=9;
a=aa();
a=5;
}
but the call stack on run menu stil grayed and not available. and bad
from this, the debugger point to wrong line when i step into aa()
function?
Have some one to help? or have another group for NeBean
Maybe have some another IDE with this feature?
thanks
public static void main(String[] args) {
// TODO code application logic here
int a=3;
a=9; <<<<<<<
}
I try to change the Value assignment to "a" at last line. and I realize
that no way to execute this line again. in short no way to step
reverse. so for this cases we need to change current value in watches
window and change the source code for next run. it's true?
but what we can do if have a complicate algorithm and have fix with
some parameters, how we suppost to use with this featurse?
I read about stack call, but I try this code:
static int aa(){
return 6;
}
public static void main(String[] args) {
// TODO code application logic here
int a=3;
a=9;
a=aa();
a=5;
}
but the call stack on run menu stil grayed and not available. and bad
from this, the debugger point to wrong line when i step into aa()
function?
Have some one to help? or have another group for NeBean
Maybe have some another IDE with this feature?
thanks