Results 1 to 3 of 3

Thread: how to cancel

  1. #1
    Senior Member
    Join Date
    Oct 2012
    Posts
    131

    Question how to cancel

    how can I stop the program from running (and clear the Call stack) while using step-by-step troubleshooting? Pressing the "Stop" button stops the troubleshooter, not the program being monitored. The cancel command from console is also ineffective.

  2. #2
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    6,031
    Clicking the stop button should have done that but it wasn't. I have fixed this in 5.6 and also the CANCEL command which was disabled.

    Just be aware that Lianja is highly event driven so if you go cancelling execution inside ready delegates etc you may leave the app broken. This is why it was left out of the debugger. Enabling it may be what YOU want but it may break apps for others. Don't go complaining "my app won't load" if you are playing about at such a low level.
    Last edited by barrymavin; 2020-11-21 at 01:28.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  3. #3
    Senior Member
    Join Date
    Oct 2012
    Posts
    131

    thank you Barry!

    I think I understand what you are saying. I thought about the processes that appear in the Call stack. Indeed, I don’t want to stop Lianja’s run, only the ones I started (including custom delegates). I hope Cancel would only affect them as well. (Maybe there is a switch that is related to the Appbuilder NoCode / ProCode setting)

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us