jsakamoto / BlazingStory

The clone of "Storybook" for Blazor, a frontend workshop for building UI components and pages in isolation.
https://jsakamoto.github.io/BlazingStory/
Mozilla Public License 2.0
319 stars 15 forks source link

breakpoint doesn't hit #8

Open SouzaHenrique opened 1 year ago

SouzaHenrique commented 1 year ago

Issue: When a breakpoint is set into the code-behind or 'code' block in a Blazor component that we are writing a 'story' it simply doesn't hit the breaking point and doesn't stop at it. It often happens when triggering an event from a component, for example, 'onmouseover' or 'onmouseleave'.

Steps to reproduce:

  1. setup a project as told in the blazing story documentation
  2. implement a component that utilizes a Blazor event (@onsomething=""), assigning a method to it.
  3. setup a breakpoint and run the application
  4. execute the UI circuit that will enable the flow to step into the breakpoint set
  5. it will never happen because the breakpoint is never gets hit.
SouzaHenrique commented 1 year ago

@jsakamoto

mark-storefeeder commented 6 months ago

Debugging won't work in an iFrame.

Open the canvas in a new tab (so it's no longer in an iFrame) and you should be able to debug as normal.

image