Run to here disappeared in 2022b?
Mostrar comentarios más antiguos
Hey all,
I loved the "run to here" feature in debugger. However, I just upgraded to 2022b and the feature seems to be gone? Usually there's a space to the left of the line numbers that I could click, but that space is no longer there. I can't seem to find a toggle to enable it in the settings. Any suggestions?
Thanks,
Trevor
Respuestas (1)
Cris LaPierre
el 26 de Oct. de 2022
0 votos
"Run to here" is still available, but maybe accessed differently? I was able to see this option two ways.
1. Right click on a line number and select from the menu

2. Click on the icon that appears to the right of the line number

6 comentarios
Trevor
el 26 de Oct. de 2022
Cris LaPierre
el 26 de Oct. de 2022
You need to right click on a line of executable code. It looks like you may be clicking on a comment.
Trevor
el 27 de Oct. de 2022
Cris LaPierre
el 27 de Oct. de 2022
In that case, you must be testing in a function file. Note that 'Run to here' is not an option in a function because functions must be called. You would need to set a breakpoint instead.

Cris LaPierre
el 17 de Ag. de 2023
This answer still works for me. When you are paused in the debugger, the option changes to 'Continue to here'. Either click to the right of the line number

or rt click on the line number

Categorías
Más información sobre Debugging and Improving Code en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

