Single stepping through LUA code

Help creating logic scripts for Air Manager Instruments

Moderators: russ, Ralph

Post Reply
Message
Author
CirrusSRPilot
Posts: 13
Joined: Tue Nov 29, 2022 4:14 am
Location: Darwin, Minnesota USA
Contact:

Single stepping through LUA code

#1 Post by CirrusSRPilot »

I'm new to lua, not new to writing code.
I'd like to single step through some existing lua instrument code as I begin to learn lua
I see that F6 should single step, but when I press F6 nothing happens
Is there a way to set a breakpoint in the code at the point I'd like to begin single stepping?
Own and fly Cirrus SR22 N919TL out of KLJF. Developing instrument to match the cockpit of a G1 SR22.

User avatar
Keith Baxter
Posts: 4674
Joined: Wed Dec 20, 2017 11:00 am
Location: Botswana

Re: Single stepping through LUA code

#2 Post by Keith Baxter »

Hi,

You have to click on and highlight the step icon or the step line in the context menu (First step) then the F6 key works after that. @Corjan is this a bug?



Keith
AMD RYZEN 9 5950X CPU, Corsair H80I cooler, ASUS TUF GAMING B550-PLUS AMD Ryzen Mother Board,  32Gb ram Corsair Vengeance 3000Mh, MSI GTX960 4G graphics card 

CirrusSRPilot
Posts: 13
Joined: Tue Nov 29, 2022 4:14 am
Location: Darwin, Minnesota USA
Contact:

Re: Single stepping through LUA code

#3 Post by CirrusSRPilot »

Thanks
Own and fly Cirrus SR22 N919TL out of KLJF. Developing instrument to match the cockpit of a G1 SR22.

Post Reply