Hi,
In Visual Studio, my shortcut to "Step into" while I'm debugging is F8.
When I'm into a test in debug mode and I press F8 to step into and when I'm on a line like Mock.Arrange or any other instruction using JustMock, the system is trying to enter in the code of JustMock.
In my visual studio, I have enable just my code in debugging options.
I have no problem with any other third party control in the sens that F8 don't try to step into the code of the third party.
It's very weird.
Here is what it show in the immediate when I press F8 on a line with JustMock instruction:
Step into: Stepping over non-user code 'System.Linq.Expressions.Expression.Constant'
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
Step into: Stepping over non-user code 'Telerik.JustMock.Mock.<bool>.'
These messages are shown on the line Mock.Arrange....
The reason why I use Step into instead of Step over is just because I want systematically to enter in any functions of my code. Remember before answering that I have no problem with other third party like your, Infragistics, DevExpress, ActiveReports, etc...
Thank you very much.
In Visual Studio, my shortcut to "Step into" while I'm debugging is F8.
When I'm into a test in debug mode and I press F8 to step into and when I'm on a line like Mock.Arrange or any other instruction using JustMock, the system is trying to enter in the code of JustMock.
In my visual studio, I have enable just my code in debugging options.
I have no problem with any other third party control in the sens that F8 don't try to step into the code of the third party.
It's very weird.
Here is what it show in the immediate when I press F8 on a line with JustMock instruction:
Step into: Stepping over non-user code 'System.Linq.Expressions.Expression.Constant'
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
Step into: Stepping over non-user code 'Telerik.JustMock.Mock.<bool>.'
Public
Sub
Execute_SimpleRequest_ReturnsTrue()
Dim
executor
As
New
DatabaseExecutor
executor.Connection =
New
Connection
Mock.Arrange(
Function
() executor.Connection.Open).Returns(
True
)
Assert.AreEqual(
True
, executor.Execute)
End
Sub
These messages are shown on the line Mock.Arrange....
The reason why I use Step into instead of Step over is just because I want systematically to enter in any functions of my code. Remember before answering that I have no problem with other third party like your, Infragistics, DevExpress, ActiveReports, etc...
Thank you very much.