Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

242
Visualizações
Does anyone know why Visual Studio can't set a breakpoint after the update?

I upgraded the version from 2019 to 2022; enter image description here

But this action caused a problem: I cannot insert breakpoint anymore (.cshtml file),other formats can still insert breakpoints. enter image description here

enter image description here

I tried to modify the debug settings, failed. I don't know the reason, so can anyone tell me the reason? I am sure the code has no problem, is it the reason for the version 2022?

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

I found a workaround: Instead of inline code like this:

@Html.Raw(Model.template.Css)

Try to refactor like this:

@{
    Html.Raw(Model.projectCss);
}

You can then place the breakpoint on the line in the middle.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda