Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

When debugging hardware using MVS10 no information is displayed i.e. variable values etc. also no log output from the device appears in the Output window.

Are these things supposed to work and I have a problem with my setup?

 

Otherwise its not much use being able to use the MVS IDE for hardware if you can't actually see what's going on.

log messages do not get printed, its true. For seeing log messages start the App in normal mode using C2R & then use logger.
values of variables should be visible if you apply a Watch.
Note the following may not work on H/W, the value should be retrieved within the scope of the variable :
{
{
    int i;
   i = 2;
   i++;
}
//a break point at this point or trying to retrive the value of "i" will show value of i as invalid expression/out of reach.
}

log messages do not get printed, its true. For seeing log messages start the App in normal mode using C2R & then use logger.
values of variables should be visible if you apply a Watch.
Note the following may not work on H/W, the value should be retrieved within the scope of the variable :
{
{
    int i;
   i = 2;
   i++;
}
//a break point at this point or trying to retrive the value of "i" will show value of i as invalid expression/out of reach.
}

Variables in watch windows are not displayed for me.
Are there circumstances where they will/won't display, any tricks/tips/hacks for forcing them to get displayed?

Variables in watch windows are not displayed for me.
Are there circumstances where they will/won't display, any tricks/tips/hacks for forcing them to get displayed?

you may add variables in the watch window.
Right click on Watch window & select Add watch, then type the variable name you want watch.
you may also see the value if you point the variable by the curser.
there seems to be an issue for adding WATCH for uint32, int & int32 variables. they will say Invalid Expression.
though you may check uint16 variables & any other Brew defined structs or pointers.
for variables that show value as , you may type cast them to int in watch window itself.

you may add variables in the watch window.
Right click on Watch window & select Add watch, then type the variable name you want watch.
you may also see the value if you point the variable by the curser.
there seems to be an issue for adding WATCH for uint32, int & int32 variables. they will say Invalid Expression.
though you may check uint16 variables & any other Brew defined structs or pointers.
for variables that show value as , you may type cast them to int in watch window itself.