You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When debugging a program that outputs strings containing '\n', the output is split at each '\n'. If the output includes multiple consecutive '\n', these newline characters are discarded.
To Reproduce
If debugging a C++ program with a statement like std::cout << "aaa\n\n\n\n\nbbb\n\n\n" << std::endl;, pygdbmi presents two separate output messages containing "aaa" and "bbb", respectively. The information regarding the quantity of '\n' between them is not retained.
Expected behavior
The '\n' characters should be preserved as-is within the program's output.
OS: Ubuntu 18
pygdbmi version (pip freeze output): 0.11.0.0
The text was updated successfully, but these errors were encountered:
Describe the bug
When debugging a program that outputs strings containing '\n', the output is split at each '\n'. If the output includes multiple consecutive '\n', these newline characters are discarded.
To Reproduce
If debugging a C++ program with a statement like
std::cout << "aaa\n\n\n\n\nbbb\n\n\n" << std::endl;
, pygdbmi presents two separate output messages containing "aaa" and "bbb", respectively. The information regarding the quantity of '\n' between them is not retained.Expected behavior
The '\n' characters should be preserved as-is within the program's output.
OS: Ubuntu 18
pygdbmi version (
pip freeze
output): 0.11.0.0The text was updated successfully, but these errors were encountered: