eclipse-cdt / cdt

Eclipse CDT™ C/C++ Development Tools
http://eclipse.org/cdt
Eclipse Public License 2.0
303 stars 199 forks source link

[DSF-GDB] Python input from debugger console is not treated as secondary prompt #362

Open DavidCosmin opened 1 year ago

DavidCosmin commented 1 year ago

Describe the bug When running a GDB python input command from debugger console, the line inputted is not treated as secondary prompt, thus, because it is not processed with RawCommand, the string "token-interpreter-exec console" is added to the input.

image

Expected behavior I would have expected that the input line should be secondary prompt. Eg. image

Desktop:

Build Identifier:

jonahgraham commented 1 year ago

Thanks for the bug report. The best solution for this will be implementing new-ui on Windows like it is on Linux. That would provide a proper and full CLI environment to the user like this:

Peek 2023-04-14 11-00