ViewPort can pause/restart/debug any number of cogs
Hanno
Posts: 1,130
Had a thought last night...
The ViewPort debugger let's you pause or set breakpoints in the "top" object. When you click the "pause" button, the first cog to run code in the "top" object will pause execution at that code- you can later resume that cog by clicking "play". Similarly, you can click to the left of a line of spin code to set a breakpoint on that line of code. The first cog that hits that line will pause there until you "play".
So if you write your program in a specific matter, you can selectively pause whichever "spin" cog you want!
Who can work it out?
Hanno
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Download a free trial of ViewPort- the premier visual debugger for the Propeller
Includes full debugger, simulated instruments, fuzzy logic, and OpenCV for computer vision. Now a Parallax Product!
The ViewPort debugger let's you pause or set breakpoints in the "top" object. When you click the "pause" button, the first cog to run code in the "top" object will pause execution at that code- you can later resume that cog by clicking "play". Similarly, you can click to the left of a line of spin code to set a breakpoint on that line of code. The first cog that hits that line will pause there until you "play".
So if you write your program in a specific matter, you can selectively pause whichever "spin" cog you want!
Who can work it out?
Hanno
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Download a free trial of ViewPort- the premier visual debugger for the Propeller
Includes full debugger, simulated instruments, fuzzy logic, and OpenCV for computer vision. Now a Parallax Product!
Comments
You have very nice resizings possiblites in some windows in ViewPort .... Why not in ALL?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nothing is impossible, there are only different degrees of difficulty.
For every stupid question there is at least one intelligent answer.
Don't guess - ask instead.
If you don't ask you won't know.
If your gonna construct something, make it·as simple as·possible yet as versatile as posible.
Sapieha