Skip to content

Commit 994663b

Browse files
author
Ronny Hansen
committed
Cleaned up debug logs
1 parent efaafac commit 994663b

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

src/cpu/cpu_bkpt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ int check_for_breakpoint(void)
237237
if (breakpoint_manager_check(pc, &hits, &hitCount)) {
238238
for (int i = 0; i < hitCount; i++) {
239239
BreakpointEntry* bp = hits[i];
240-
printf("[CPU] Hit breakpoint at %06o type=%d hitCount=%d\n", pc, bp->type, bp->hitCount);
240+
//printf("[CPU] Hit breakpoint at %06o type=%d hitCount=%d\n", pc, bp->type, bp->hitCount);
241241

242242
// Evaluate condition expression if applicable
243243
bool condition_ok = true; // TODO: implement evaluator

src/debugger/debugger.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -561,9 +561,6 @@ static int cmd_scopes(DAPServer *server)
561561
// Extract frame_id from the command context
562562
int frame_id = server->current_command.context.scopes.frame_id;
563563

564-
printf("Scopes request for frame ID: %d\n", frame_id);
565-
566-
567564
// Allocate memory for the scopes
568565
DAPScope *scopes = (DAPScope *)calloc(NUM_SCOPES, sizeof(DAPScope));
569566
if (!scopes)

0 commit comments

Comments
 (0)