http://llvm.org/bugs/show_bug.cgi?id=21314

            Bug ID: 21314
           Summary: Multiple command prompts with call command
           Product: lldb
           Version: unspecified
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev@cs.uiuc.edu
          Reporter: m...@edg.com
    Classification: Unclassified

When using the "call" command, I sometimes get two "(lldb) " command prompts. 
This seems to have happened after upgrading to Xcode 6.0.1 last week.  We have
many debug routines that are designed to be called from the debugger, and some
of them don't have a trailing newline, which seems to result in behavior like
this:

(lldb) call db_type(deduced_type)
(lldb) ng.Class<?>(lldb)

This should have printed "java.lang.Class<?>" with no newline, but the first
seven characters appear to have been overwritten by "(lldb) ".

Note that it appears to work when there's a newline:

(lldb) call (void)fprintf(f_debug, "Hello World\n")
Hello World
(lldb) call (void)fprintf(f_debug, "Hello World")
(lldb) orld(lldb)

Perhaps two prompts are being emitted in both cases, but when there's a newline
they overwrite each other?

Here's the version I'm using:

(lldb) version
lldb-320.4.124.10
(lldb)

A co-worker is using lldb-320.3.100 and doesn't see the problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
lldb-dev mailing list
lldb-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to