Developer forum

Forum » Dynamicweb 10 » Error executing template missing line-number

Error executing template missing line-number

Casper Rasmussen
Casper Rasmussen
Reply

Hi,

How do I get the exact line number of the error returned when an error occurs executing a template?

This is the error message I'm currently receiving:


Replies

 
Jeppe Eriksson Agger Dynamicweb Employee
Jeppe Eriksson Agger
Reply

Hi Casper,

This is a known issue with the version of RazorEngine that we use. It doesn't play nice with some of the newer features of .NET. This has as a side effect that it doesn't load debug symbols for razor files, as discussed here: https://doc.dynamicweb.com/forum/development/development/debugging-no-symbols-loaded-for-compiled-razor-files. Line numbers come from the symbols, so that's why they don't appear.

As mentioned in the other post, we are investigating solutions, but currently we don't have a solution for this.

- Jeppe

 

You must be logged in to post in the forum