Quantcast
Channel: SQL Server Reporting Services
Viewing all articles
Browse latest Browse all 1418

Is it possible to attach VS debugger to RDLC code

$
0
0

I'm adding a few functions to the Custom code window in the RDLC designer in Visual Studio 2012 for an ASP.Net web application report that is using the LocalReport object (Microsoft.Report.Webforms version).

To debug my web app I usually attach the VS debugger after I've already started the web app on my development machine.  To debug the code inside the RDLC during testing, what are the correct settings in the Visual Studio "Attach to Process" debug dialog?  Also, I'm not seeing any way to mark a code line as a breakpoint, so what's the correct way to get thrown into the debugger (assuming it can be attached).

My web app is running .Net 4.  I'm not using the report viewer control -- I'm calling the LocalReport.Render() to generate PDF or Word docs, that are getting streamed to the browser.   Because it's a local report, I'm using object data instead of SQL server.

Thanks!


Viewing all articles
Browse latest Browse all 1418

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>