An apparatus, comprising: a processor component; an environment configuration and control module for execution on the processor component to configure an execution environment in a user space for device driver operations to perform debugging and testing; a device driver redirection module for execution on the processor component to: redirect a device driver operation from kernel space for execution in the execution environment in the user space configured by the environment configuration and control module, the redirection comprising copying one or more instructions in one or more binary files for the device driver operation from the kernel space to a user process in the user space; determine whether an instruction of the one or more instructions copied to the user process requires handling an interrupt; and assign an interrupt to said determined instruction to create an exception; a user space control module for execution on a processor component to execute the device driver operation in the execution environment in the user space; an interrupt handler module for execution on the processor component to receive the interrupt for said instruction; and a kernel space control module for execution on the processor component to execute said instruction in the kernel space and revert back to the user space to execute remaining instructions of the one or more instructions of the device driver operation. a processor component; an environment configuration and control module for execution on the processor component to configure an execution environment in a user space for device driver operations to perform debugging and testing; a device driver redirection module for execution on the processor component to: redirect a device driver operation from kernel space for execution in the execution environment in the user space configured by the environment configuration and control module, the redirection comprising copying one or more instructions in one or more binary files for the device driver operation from the kernel space to a user process in the user space; determine whether an instruction of the one or more instructions copied to the user process requires handling an interrupt; and assign an interrupt to said determined instruction to create an exception; redirect a device driver operation from kernel space for execution in the execution environment in the user space configured by the environment configuration and control module, the redirection comprising copying one or more instructions in one or more binary files for the device driver operation from the kernel space to a user process in the user space; determine whether an instruction of the one or more instructions copied to the user process requires handling an interrupt; and assign an interrupt to said determined instruction to create an exception; a user space control module for execution on a processor component to execute the device driver operation in the execution environment in the user space; an interrupt handler module for execution on the processor component to receive the interrupt for said instruction; and a kernel space control module for execution on the processor component to execute said instruction in the kernel space and revert back to the user space to execute remaining instructions of the one or more instructions of the device driver operation.