Rider's 'Step Into' is not working as expected, at least not consistently with Visual Studio

Step Into does not automatically enter the OnModelCreating method of YiyiPoemDbContext. BUT , If I set a breakpoint on the OnMoelCreating manually, Step Into works and enters the method. Is this by design or is there an issue?"
I also try it with visual stuio , vs can work expected.
repro : just create a project with abp.io , debug the migrator.
I've encountered this in other places as well. For example, when an API action throws an exception, Step Into does not automatically enter the global exception handler, but it works in Visual Studio's debugger.

Please sign in to leave a comment.
Hello Jack,
Thanks for contacting Rider support. I'm glad to work with you on this ticket.
I've tried to set up a sample project from abp.io, and the debugger has entered in OnModelCreating correctly for me.
I suspect this issue could be caused by debug external code feature which is enabled by default. Could you please try to disable it and verify if the issue persists?
Let me know if it doesn't work.
Regards,
Tom
The ‘external souce debug’ I disabled by default , I created a new project with abp.io and it seems to work , My old project can not step into , strange .
F11 Step into skipped the method directly and didn't go into its internal code , not sure why. but vs can work :)
Hello Jack,
Thanks for the information. The issue could be related to specific project configurations. These configurations are stored .idea folder under root of project folder. Could you delete this folder and try again? If you'd like to keep a copy, you can rename it to something like .idea_backup.
If the issue continues, please report it in our issue tracker with the following information:
Thanks,
Tom