[lldb-dev] [Bug 21314] New: Multiple command prompts with call command
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Oct 20 08:05:34 PDT 2014
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 at cs.uiuc.edu
Reporter: mjh at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20141020/1ca4a306/attachment.html>
More information about the lldb-dev
mailing list