Run to here disappeared in 2022b?

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
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
Trevor el 26 de Oct. de 2022
This is what I see when I right click.
Cris LaPierre
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
Trevor el 27 de Oct. de 2022
I get the same reseult on a line of code.
Cris LaPierre
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.
MDK1997
MDK1997 el 17 de Ag. de 2023
Editada: MDK1997 el 17 de Ag. de 2023
Is there an accepted answer to this question? I am having the same issue when paused in the debugger. Thanks.
Cris LaPierre
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

Iniciar sesión para comentar.

Categorías

Más información sobre Debugging and Improving Code en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 26 de Oct. de 2022

Comentada:

el 17 de Ag. de 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by