Skip to content

Cannot debug template - when using @helper DoSmth(){} #253

@martys

Description

@martys

Hi,

While the RazorEngine parses and executes the @Helper code correctly,
I found myself un-able to debug the 'run-time' generated class after starting to use @Helper
functions in my Razord .cshtml templates

basically - when I click F11 to step into the code, the debugger - jumps over it
removing the @Helper's- let's me step into the generated code and debug it .

Is there any way around this ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions