History

more debug

ZappoMan committed 12 years ago

Commit e0c55be1 parent 97842883 files · +44 −21Browse files

Showing the changes to libraries/shared/src/SharedUtil.cpp (1 of 3 files). Show all

Unified · Split

libraries/shared/src/SharedUtil.cpp+5−5
@@ -71,18 +71,18 @@ void outputBufferBits(unsigned char* buffer, int length, bool withNewLine) { · 70 unmodified lines
7171
7272 void outputBits(unsigned char byte, bool withNewLine) {
7373 if (isalnum(byte)) {
74− qDebug("[ %d (%c): ", byte, byte);
74+ printf("[ %d (%c): ", byte, byte);
7575 } else {
76− qDebug("[ %d (0x%x): ", byte, byte);
76+ printf("[ %d (0x%x): ", byte, byte);
7777 }
7878
7979 for (int i = 0; i < 8; i++) {
80− qDebug("%d", byte >> (7 - i) & 1);
80+ printf("%d", byte >> (7 - i) & 1);
8181 }
82− qDebug(" ] ");
82+ printf(" ] ");
8383
8484 if (withNewLine) {
85− qDebug("\n");
85+ printf("\n");
8686 }
8787 }
8888

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t