Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-34049

Allow the ouput symbols to be escaped when called from an IDE

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • Apache Flex 4.11.0
    • Apache Flex 4.12.0
    • FDB - Debugger
    • None

    Description

      Currently, in IntelliiJ, there is this fix:

      "The fix escapes special symbols and surrounds result with
      "IDEA-ESCAPE-START" and "IDEA-ESCAPE-END", so that's not something that
      can go to Apache repo.
      The problem that is solves is to distinguish line break in fdb output
      that means 'fdb message finished' from line breaks that are inside
      printed string var value.
      For example (using Java string syntax) "myString = a \n b" (with real
      line break char) becomes "myString = IDEA-ESCAPE-STARTa
      n
      bIDEA-ESCAPE-END" (without real line break char).
      This is not a problem for command line fdb usage, but may be a big
      problem for IDE." Alexander Doroshko from JetBrains

      So, it could be integrated into FDB with minor changes.

      Attachments

        1. ExpressionCache.java
          17 kB
          Alexander Doroshko
        2. fdb.jar
          593 kB
          Frédéric THOMAS
        3. StringUtil.java
          2 kB
          Alexander Doroshko

        Activity

          People

            doublefx Frédéric THOMAS
            doublefx Frédéric THOMAS
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: