Is there an equivalent to the F9 key in Matlab for Visual Studio when debugging Python? It allows one to evaluate any expression one comes across, as long as the values have already been calculated with of course.
Ie if I'm debugging something in Matlab, and I come across the statement x = a+b+c
, and I'm not sure what a+b
is, I can highlight it, press F9 , and get the answer.
This is really nice for complicated formulas and checking piece by piece whether it all works out, instead of splitting everything up and creating unnecessary variables to assign the results too
I really should have just spent 5 minutes looking on my own. In VS it's called quick-watch, can be accessed with shift f9.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.