Index: uspace/srv/loader/main.c
===================================================================
--- uspace/srv/loader/main.c	(revision 5f97ef445e6e5648a8b8c902eb0f655d579336b4)
+++ uspace/srv/loader/main.c	(revision 710c1e98e0e2fa820b257d17768cee467f42b107)
@@ -62,5 +62,5 @@
 #include <vfs/inbox.h>
 
-#define DPRINTF(...)
+#define DPRINTF(...) ((void) 0)
 
 /** File that will be loaded */
@@ -107,4 +107,5 @@
 		len = sizeof(task_id);
 
+	DPRINTF("LOADER_GET_TASKID() = %lu\n", (unsigned long) task_id);
 	async_data_read_finalize(&call, &task_id, len);
 	async_answer_0(req, EOK);
@@ -126,4 +127,5 @@
 	}
 
+	DPRINTF("LOADER_SET_CWD('%s')\n", cwd);
 	async_answer_0(req, rc);
 }
@@ -156,4 +158,6 @@
 		return;
 	}
+
+	DPRINTF("LOADER_SET_PROGRAM('%s')\n", name);
 
 	progname = name;
@@ -217,4 +221,7 @@
 			free(argv);
 
+		for (int i = 0; i < count; i++)
+			DPRINTF("LOADER_SET_ARGS('%s')\n", _argv[i]);
+
 		argc = count;
 		arg_buf = buf;
@@ -255,4 +262,6 @@
 		return;
 	}
+
+	DPRINTF("LOADER_ADD_INBOX('%s')\n", name);
 
 	/*
@@ -276,4 +285,6 @@
 static int ldr_load(ipc_call_t *req)
 {
+	DPRINTF("LOADER_LOAD()\n");
+
 	int rc = elf_load(program_fd, &prog_info);
 	if (rc != EE_OK) {
@@ -283,5 +294,9 @@
 	}
 
+	DPRINTF("Loaded.\n");
+
 	elf_set_pcb(&prog_info, &pcb);
+
+	DPRINTF("PCB set.\n");
 
 	pcb.cwd = cwd;
@@ -293,4 +308,5 @@
 	pcb.inbox_entries = inbox_entries;
 
+	DPRINTF("Answering.\n");
 	async_answer_0(req, EOK);
 	return 0;
