This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problems with uVision

Hi. I wanted to post a screenshot but maybe this forum doesn't allow that?
I'm having a hard time debugging when half the variables I add to the watch can't be resolved, even when the PC is sitting right on top of that variable.
I also don't know how to see all my breakpoints? There's supposed to be a window that shows them but I can't find this.
The 3rd issue so far is that sometimes it does not allow me to disable a breakpoint. I press F9, the breakpoint goes away, and as soon as I start scrolling it comes back.

  • Hello Peter,

    I am sorry you are having problems with the tools.

    1) You said "...variables I add to the watch can't be resolved" - are you sure these are not local variables, or register names, static, or pragmas? Those will be difficult for the debugger to resolve. Can you see any variables? If not, under project -> options for target -> output tab, you might not have debug and browse information checked.

    2) You asked "how to see all my breakpoints?"
    - You can press <Ctrl + B> or open the breakpoints window http://www.keil.com/support/man/docs/uv4/uv4_db_dbg_breakpnts.htm
    - Using the command window, you can use the BREAKLIST command www.keil.com/.../uv4_cm_breaklist.htm

    3) You also stated "sometimes it does not allow me to disable a breakpoint"
    - When you do this, do you see any error messages in the command window? http://www.keil.com/support/man/docs/uv4/uv4_db_dbg_outputwin.htm
    - Were you Running when you tried to clear a breakpoint?

    To better understand your issues, it would help to know the target device, compiler version, IDE version, and if you are using any third party code,