{"action":"created","issue":{"url":"https://api.github.com/repos/Antaris/RazorEngine/issues/253","labels_url":"https://api.github.com/repos/Antaris/RazorEngine/issues/253/labels{/name}","comments_url":"https://api.github.com/repos/Antaris/RazorEngine/issues/253/comments","events_url":"https://api.github.com/repos/Antaris/RazorEngine/issues/253/events","html_url":"https://github.com/Antaris/RazorEngine/issues/253","id":63787609,"number":253,"title":"Cannot debug template - when using @helper DoSmth(){}","user":{"login":"martys","id":210054,"avatar_url":"https://avatars.githubusercontent.com/u/210054?v=3","gravatar_id":"","url":"https://api.github.com/users/martys","html_url":"https://github.com/martys","followers_url":"https://api.github.com/users/martys/followers","following_url":"https://api.github.com/users/martys/following{/other_user}","gists_url":"https://api.github.com/users/martys/gists{/gist_id}","starred_url":"https://api.github.com/users/martys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martys/subscriptions","organizations_url":"https://api.github.com/users/martys/orgs","repos_url":"https://api.github.com/users/martys/repos","events_url":"https://api.github.com/users/martys/events{/privacy}","received_events_url":"https://api.github.com/users/martys/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-23T17:44:15Z","updated_at":"2015-03-24T01:24:39Z","closed_at":null,"body":"Hi, \r\n\r\nWhile the RazorEngine parses and executes the @helper code correctly, \r\nI found myself un-able to debug the 'run-time' generated class after starting to use @helper \r\nfunctions in my Razord .cshtml templates \r\n\r\nbasically - when I click F11 to step into the code, the debugger - jumps over it \r\nremoving the @helper's- let's me step into the generated code and debug it . \r\n\r\nIs there any way around this ? "},"comment":{"url":"https://api.github.com/repos/Antaris/RazorEngine/issues/comments/85279196","html_url":"https://github.com/Antaris/RazorEngine/issues/253#issuecomment-85279196","issue_url":"https://api.github.com/repos/Antaris/RazorEngine/issues/253","id":85279196,"user":{"login":"matthid","id":1866463,"avatar_url":"https://avatars.githubusercontent.com/u/1866463?v=3","gravatar_id":"","url":"https://api.github.com/users/matthid","html_url":"https://github.com/matthid","followers_url":"https://api.github.com/users/matthid/followers","following_url":"https://api.github.com/users/matthid/following{/other_user}","gists_url":"https://api.github.com/users/matthid/gists{/gist_id}","starred_url":"https://api.github.com/users/matthid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthid/subscriptions","organizations_url":"https://api.github.com/users/matthid/orgs","repos_url":"https://api.github.com/users/matthid/repos","events_url":"https://api.github.com/users/matthid/events{/privacy}","received_events_url":"https://api.github.com/users/matthid/received_events","type":"User","site_admin":false},"created_at":"2015-03-24T01:24:39Z","updated_at":"2015-03-24T01:24:39Z","body":"I cannot reproduce this. I could even debug into a `@helper` function.\r\nDid you set `Debug = true` and do you give RazorEngine the file path (via `new LoadedTemplateSource(template, templatePath)`)?"}}