Wish Log routine name - crazy idea (?)

Discussion in 'Bugs & wishlist' started by LucaMs, Sep 6, 2018.

Tags:
  1. LucaMs

    LucaMs Expert Licensed User

    My beautiful, perfect and... no longer usable, probably :D tool AddLogs inserted debug lines, so that the name of the running routine (and its parameters and related values) was logged.

    AddLogs added these logs to all the routines (which is sometimes annoying but certainly useful for debugging).
    It would be useful to be able to mark the name of a routine in such a way that it is logged.

    Example:

    Alt + B adds Bookmark?

    Alt + L adds Log

    upload_2018-9-6_17-18-54.png

    When the routine will be executed, in the tab Logs:

    ***> Main.MyRoutine

    or (better):

    ***> Main.MyRoutine(12, "Ciao")
     
  2. LucaMs

    LucaMs Expert Licensed User

    BTW (I cannot write only serious and technical posts, sorry :))...

    upload_2018-9-6_17-36-20.png

    2 or 3 stars: like restaurants? I wonder why :)
    but I could open a new thread to ask...
    Please, ignore this crazy post :)
     
  3. JordiCP

    JordiCP Well-Known Member Licensed User

    It would indeed be a quick way to debug program flow without the need of breakpoints nor explicitly adding logs everywhere!
     
    LucaMs likes this.
  4. Alexander Stolte

    Alexander Stolte Well-Known Member Licensed User

    Would be useful for large projects. Then I would not have to come up with any names to keep the "logs" apart. Or if i Try Catch Subs, then comes a error and i dont know from witch sub or from with module....
     
    LucaMs likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice