Hi there,
I've got an issue with the add-in manager not working properly. Visual Studio only hits the breakpoint of an attached process the first time that the Addin Manager is used. I've attached a screencast that demonstrates this issue.
I've used the add-in manager to debug AutoCAD 2016 in the past (I've published and app on the Autodesk Exchange store) but a few things have changed since then:
Like I said in the Screencast, If I close Revit and then reopen Revit (without doing anthing to MSVS), Visual Studio will again, only hit the breakpoint of an attached process the first time that the Addin Manager is used.
James LeVieux
Hi James,
Thank you for reaching out to us, It seems very strange, but at the same time when you mentioned Windows 10, it kinda made sense.
Have you read our information about our products and Windows 10
I'll paste the important points here. Click the link above for full text and any updates to that statement.
Currently I know that Revit API is not officiallly supported on Windows 10. It could be one of the reasons why this happens. Unfortunately I don't have a machine with Windows 10 handy, but I can ask around and also we could wait to see what others comment on a similar experience or hopefully a solution that I don't know.
Thank you for reaching out and let me know if anything else is found.
OK. I hope this can get resolved before the spring when I have to debug my 2017 release.
James
Hi James,
Definitely check back with us about it. Is there a way you can try this with a Windows 8 machine ? just to make sure that Windows 10 is the cause of it?
If you need help testing this please let me know, I do have my machine with windows 8.1 and everything should be ok with that.
Hi there,
Im having the same issue, also running Windows 10.
I tried running both revit and VS in compatiablity mode for windows 7. Same result. Although, I'm not sure if it would of helped anyways.
Hi Ryan,
Like I mentioned above, Currently I know that Revit API is not officiallly supported on Windows 10. It could be one of the reasons why this happens. I'm not sure if using compatibility mode for Win 7 will work either.
Cheers,
I haven't checked since my last post so forgive me if this is already fixed but, any chance we could get some idea how long we will have to wait for API compatibility with win10? This is pretty much the only thing I can't do on Windows 10 these days. It sure would be nice to work on may apps on my new machine instead of my 10 year old laptop.
James
I'm bringing this up again because I'm still having this problem. I'm still using windows 10 (fully up to date). I've got the latest version of Revit 2017.2 and the latest SDK 2017.2 but the problem persists for me. I'm starting a new project and re-starting Revit each time I want to run the debugger is not an option anymore.
I'm beginning to think that the problem is not so widespread. Others must be using windows 10 it by now so I think we would have heard more from them if Windows 10 was the cause of the problem.
Hi there,
I finally figured it out. I tried specifically specifying the type of code instead of using Automatic and it works now. One of my attached projects in my solution is .net 3.5 so maybe that's why it's getting confused.
I'm sorry. I must have made some mistake earlier. I can't reproduce what happened earlier today. Still not fixed.
OK. Now I've really got it. I ran the "repair" on my Visual Studio 2013 installation and that fixed it.
Here's my theory on why this happened on a brand new computer. I installed VS2013 first, then found that I also need VS2010 to support some legacy stuff. I think installing 2010 after 2013 is what caused the glitch.
James
I'm sorry to say that I was wrong once again. It's not fixed. I had about 1 week of debug bliss and then it stopped working again! I tried repair AGAIN and that didn't work this time. I uninstalled, then reinstalled, then updated to VS2013.5 (restarting after each phase) and still not working. What could I possibly be doing to cause this behavior?
James
I think maybe I've got the solution. I switched Tools:Options:Debugging:General to "Use managed compatiblity mode". This seems to work. However, it surely doesn't explain my previous experience--why it worked for a week and then suddenly stopped working again. We'll see how long this lasts!
James
Hi Ryan,
So, if I'm understanding this correctly:
Thanks for the help! Also, I put a similar issue up with some screen shot to give you an idea of exactly what I'm going through here.
Can't find what you're looking for? Ask the community or share your knowledge.