Debugger: Interactive Console Input
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Fix Released
|
Wishlist
|
Gabriel Petrovay |
Bug Description
Currently, the cmd debugger input is not interactive. E.g. there is no possibility to get used commands by clicking the up key, code completion doesn't work, and it is even not possible to move the cursor with the left and right arrow to correct a typo in between.
Information about these features can be found in the following to stackoverflow entries:
http://
http://
I know, these features are not strait forward to implement. And it is not super important. But most of the consoles support them and they are really helpful!
Related branches
- David Graf (community): Approve
- Gabriel Petrovay (community): Approve
- Juan Zacarias: Pending requested
-
Diff: 6749 lines (+3407/-2155)47 files modifiedCMakeConfiguration.txt (+7/-4)
bin/CMakeLists.txt (+21/-18)
bin/debug_client/debug_command.cpp (+0/-99)
bin/debug_client/event_handler_init.cpp.in (+0/-41)
bin/debug_client/lock_free_queue.cpp (+0/-16)
bin/debug_client/message-handler.xq (+0/-165)
bin/debugger/command.h (+164/-211)
bin/debugger/command_arg.h (+237/-0)
bin/debugger/command_line_handler.cpp (+350/-203)
bin/debugger/command_line_handler.h (+111/-58)
bin/debugger/command_prompt.cpp (+246/-0)
bin/debugger/command_prompt.h (+60/-0)
bin/debugger/config.h.cmake (+24/-0)
bin/debugger/event_handler.cpp (+82/-76)
bin/debugger/event_handler.h (+25/-12)
bin/debugger/lock_free_queue.h (+10/-2)
bin/debugger/main.cpp (+290/-14)
bin/debugger/tuple.h (+6/-0)
bin/zorbacmd.cpp (+7/-9)
cmake_modules/FindLibedit.cmake (+46/-0)
include/zorba/config.h.cmake (+8/-8)
include/zorba/debugger_client.h (+9/-1)
modules/com/zorba-xquery/www/modules/CMakeLists.txt (+7/-0)
modules/com/zorba-xquery/www/modules/debugger/dbgp-message-handler.xq (+277/-0)
src/compiler/expression/expr.cpp (+0/-1)
src/compiler/translator/translator.cpp (+5/-7)
src/debugger/debugger_client.cpp (+0/-2)
src/debugger/debugger_clientimpl.cpp (+545/-458)
src/debugger/debugger_clientimpl.h (+16/-9)
src/debugger/debugger_common.h (+3/-10)
src/debugger/debugger_commons.cpp (+122/-24)
src/debugger/debugger_commons.h (+11/-15)
src/debugger/debugger_communicator.cpp (+3/-3)
src/debugger/debugger_communicator.h (+4/-4)
src/debugger/debugger_protocol.cpp (+28/-16)
src/debugger/debugger_runtime.cpp (+308/-87)
src/debugger/debugger_runtime.h (+29/-12)
src/debugger/debugger_server.cpp (+229/-85)
src/debugger/debugger_server.h (+15/-1)
src/debugger/socket_streambuf.cpp (+68/-55)
src/debugger/socket_streambuf.h (+20/-9)
src/unit_tests/CMakeLists.txt (+0/-6)
src/unit_tests/test_debugger_protocol.cpp (+0/-414)
test/rbkt/ExpQueryResults/zorba/debugger/dmh/break_response.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/debugger/dmh/break_response_no_info.xml.res (+1/-0)
test/rbkt/Queries/zorba/debugger/dmh/break_response.xq (+5/-0)
test/rbkt/Queries/zorba/debugger/dmh/break_response_no_info.xq (+7/-0)
Changed in zorba: | |
status: | Fix Committed → Fix Released |
A basic version should be fixed in r10590.