MU Soapbox

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Muxify
    • Mustard

    Trace/Debug Breakpoints

    MU Code
    1
    1
    854
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Ashen-Shugar
      Ashen-Shugar last edited by

      For giggles I introduced a method to have, essentially, full psudo-breakpoints in trace output.

      It essentially allows you to add start and end tag/markers in softcode to specify locations where you want trace output to occur. You're allowed to add up to 1000 tags to a single running command (or $command sequence). You can enable or disable these tags (labels) at any point which works like how breakpoints would work.

      With this, there's also a method to highlight (with optional regexp pattern matching) patterns in red of any trace output. This can work with or independently from the breakpoint/label system.

      For those curious for more, 'help @label' on any RhostMUSH running the latest code will give you a review of how it all works.

      Enjoy.

      1 Reply Last reply Reply Quote 1
      • 1 / 1
      • First post
        Last post