Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. NCrunch 4 - Optimized mode - Debugging tests is mission impossible?

    [quote=tomtrias;14086]I have had similar issues with watches / variable or expression evaluation using NCrunch Optimised Mode in Visual Studio 2019 for a .NET 4.7.2 project using Win32 (Full) PDBs. I also noticed that stepping into or out of methods now shows a bit of stepping through external code…

  2. NCrunch 4 - Optimized mode - Debugging tests is mission impossible?

    I've managed to identify some issues around local variable scoping inside the portable PDBs that we're rebuilding. I'll let you know as soon as a fix is available.

  3. New Ncrunch v4.0 execute tests with category not allowed

    Thanks for the code sample. I've managed to reproduce this exactly as described. I'll let you know as soon as a fix is available.

  4. Ncrunch 4, Instrumentation Mode Optimised: Signing drawback

    Thanks for sending through the report. It looks like there was no attempt made to re-sign any assemblies in the session from the report you submitted. Are you able to reproduce this problem in a sample solution that you can share with me?

  5. VS2019: We've noticed that extension 'NCrunch for Visual Studio' is slowing typing performance

    Hi Michael, Thanks for sharing these extra details. Which engine mode do you usually work in? The default 'Run all tests automatically' will automatically queue ALL tests in the project scope when any change is detected (even a comment). The 'Run impacted tests automatically' mode is usually…

  6. NCrunch 4 - Optimized mode - Debugging tests is mission impossible?

    [quote=spolonski;14076] My Code uses Portable pdbs. Which one is win32? i have only None, Full, Pdb-only, Portable and Embeded Items in Debugging information combobox.[/quote] Win32 pdb is 'Full'. Thanks for sharing these extra details. I'm going to do some experimentation to see if I can…

  7. VS2019: We've noticed that extension 'NCrunch for Visual Studio' is slowing typing performance

    Thanks Michael. This does help to narrow things down. I'm wondering if this might be caused by general system lag triggered by overconsumption of the background tests. Do you have any tests in your solution that are particularly large? For example, anything that has a long running time and mig…

  8. Ncrunch 4, Instrumentation Mode Optimised: Signing drawback

    Hi, thanks for sharing this issue. Is there any chance you could submit a bug report directly after you've had NCrunch build one of the assemblies that's failing to sign correctly? Normally NCrunch should be re-signing the assemblies using SN.exe after they've been manipulated. The log file in …

  9. VS2019: We've noticed that extension 'NCrunch for Visual Studio' is slowing typing performance

    Thanks for confirming this. Unfortunately, this means the problem is one that we haven't seen before. Are you able to narrow down when the sluggishness happens? There's a fairly unscientific way you can assess this. Basically, hold down the comment key inside one of your code windows, and coun…

  10. IndexOutOfRangeException with new instrumentation mode

    [quote=mdenny;14061] If it helps (probably not) I'm pretty sure that the build was working a day or so ago, after I'd upgraded to NCrunch 4, but has stopped working since. I'll go through changes to see if anything unusual is there. Sorry that I'm not much help! [/quote] I can almost 100% say …

  11. New Ncrunch v4.0 execute tests with category not allowed

    Hi, thanks for posting. I've just checked this behaviour and it seems to be working correctly on my end. If you turn on the 'Categories' column in the Tests Window, do the tests involved have the correct category attached to them? Can you confirm exactly which configuration setting you're u…

  12. VS2019: We've noticed that extension 'NCrunch for Visual Studio' is slowing typing performance

    Hi Michael, Presently, we are aware of only one thing that can cause this. Can you check if your 'Log to output window' setting is turned off? The engine will usually give a performance warning about this, but it might have been hidden from you.

  13. NCrunch 4 - Optimized mode - Debugging tests is mission impossible?

    Hi, thanks for sharing this issue. Can you confirm if your code is using portable PDBs or Win32 ones? Do you notice any difference if you switch between these? Note that you can control this under your advanced build settings in the VS project configuration.

  14. NCrunch 4 - Instrumentation Mode - Optimized - Project fails to build

    [quote=wilhelmmedetz;14054]Tried NCrunch_VS2019_4.2.0.1.msi Still getting a build error. Submitted bug report. Solution can be found at https://github.com/SimControl/SimControl.Reactive [/quote] Thanks for sharing this. I think the reason we're seeing problems with this solution is beca…

  15. IndexOutOfRangeException with new instrumentation mode

    Hi, thanks for sharing this problem. Would you be able to tell me a bit more about the project that's raised this exception? Which language and platform is it targeting? Is there any post-processing of the project's output assembly via IL weavers or other tooling? Does the project contai…

  16. NCrunch 4 - Instrumentation Mode - Optimized - Project fails to build

    I've made an effort to harden the code responsible for kicking up these problems. Unfortunately, the stack traces didn't give me enough information to reproduce the issues themselves, but I'm hoping the build below will have a good chance of solving them: [url=https://s3.amazonaws.com/downloads.…

  17. NCrunch building csproj files not in solution?

    Hi, thanks for posting. This behaviour is by design. As NCrunch takes responsibility for building your projects, it needs to first build the dependencies of the projects in your solution before they can be built. If a project inside your solution has a reference to another project outside of th…

  18. NCrunch 4 - Instrumentation Mode - Optimized - "The name [x] does not exist in the current context"

    Hi Matt, Thanks for sharing this problem. I'm fairly certain this is caused by something funky in the debug information that exists because of the async method block. Are you working with a portable PDB, or a Win32 one? Does switching between them make any difference? Are you able to pr…

  19. NCrunch 4 - Instrumentation Mode - Optimized - System.IO.IOException

    Thanks for confirming this. Does the issue appear with consistency? This one has me quite confused as the point of code throwing the error actually doesn't have anything to do with the new optimised mode at all. It must somehow be causing the issue indirectly. Is there any chance you can isola…

  20. NCrunch 4 - Instrumentation Mode - Optimized - Project fails to build

    Thanks everyone for these stacktraces. I'm building a list of issues with the new optimised mode right now with a plan to work through these early in the coming week. If you experience any other exceptions that aren't shown here, please do share them so we can get them fixed quickly. I'll let y…