<p>I have a .Net CF 2.0 application and am using log4net to log errors.  I get a stack trace, but it doesn't have any line numbers.  I noticed that it doesn't appear to deploy the pdb file to the device, so I tried to manually place it in the same directory as the exe.  But that didn't help.</p>

Have you tried to bubble up the exceptions with out wrapping them in a new exception;
link
```
```
try {
       //code..

     }
 catch
     {          
        throw;
      }
```
```