You can debug a dll by make it a program. Put a main function in it , compile and run it as a program. If it work well then you can remove the unwanted main and compile it again as a dll and use it in your programs. You cannot (guess) run a dll(alone) in a debugger since there is no call to its functions(how you test it?).
However the Upp is made with statically linking in mind (see dll hell ). Hope i was usefull(but don't know if it is the right answer ).