Hang after pressing enter

In last 4 builds also in 219 i found a problem

When i hit Enter in editor, nothing happens and VS2005 hang and goes to 100% CPU usage and i must kill the devenv process.
It happens mostly when i hit enter after class opening { bracket

7 comments
Comment actions Permalink

please could you attach the debugger to the hung studio and post the stack
traces of all threads which have managed frames

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"mill" <no_mail@jetbrains.com> wrote in message
news:19810230.1140531468306.JavaMail.itn@is.intellij.net...

In last 4 builds also in 219 i found a problem

>

When i hit Enter in editor, nothing happens and VS2005 hang and goes to
100% CPU usage and i must kill the devenv process.
It happens mostly when i hit enter after class opening { bracket



0
Comment actions Permalink

how can i do this ?

0
Comment actions Permalink

Just run another copy of Visual Studio, Select Debug->Attach to process, and
attach to the hung VS.
Then pause the debugger, and catch the stack traces of every thread with
managed frames within

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"mill" <no_mail@jetbrains.com> wrote in message
news:8503909.1140532096017.JavaMail.itn@is.intellij.net...

how can i do this ?



0
Comment actions Permalink

i another way how to get the info ? remote debugging is not working on my PC?

i thing that tho Hanging after Enter has something to do with runing R# and Coderush together

0
Comment actions Permalink

now I found this thread:
http://www.intellij.net/forums/thread.jsp?forum=37&thread=183267

I my case option 'Highlight current line' was disabled, but VS 2005 was still locking up

(for example after pressing enter then the cursor is on end of line where is the last using xxxxxx;, or after opening { in class)

it doesn't happen in every file, but when it happens, it happens everytime i try it the same place after restarting vs2005

now i tried to disalbe 'Smart indent on ENTER' and it worked on the place where is caused the lock ups. When i pressed backspace to erase the new line, enable 'Smart indent on ENTER' and try to enter there, it locked again

0
Comment actions Permalink

Thread Main:
-



> JetBrains.VSAddin.dll!JetBrains.VSAddin.Editor.VSDocumentOperationsHandler.ReplaceText(JetBrains.ReSharper.Util.TextRange
range = {JetBrains.ReSharper.Util.TextRange}, string newText = "
") Line 164 + 0x47 bytes C#
JetBrains.VSAddin.dll!JetBrains.ReSharper.Editor.VSIntegration.VSDocument.ReplaceText(JetBrains.ReSharper.Util.TextRange
atRange = {JetBrains.ReSharper.Util.TextRange}, string text = "
") Line 104 + 0x20 bytes C#

JetBrains.VSAddin.dll!JetBrains.VSAddin.TextControl.VSTextControl.MyCommandFilter.TryDelegateToReSharper(uint
nCmdID = 3, System.IntPtr pvaIn = 0, uint nCmdexecopt = 0, System.IntPtr
pvaOut = 0, ref System.Guid pguidCmdGroup = {System.Guid}) Line 638 + 0x11
bytes C#
JetBrains.VSAddin.dll!JetBrains.VSAddin.TextControl.VSTextControl.MyCommandFilter.Exec(ref
System.Guid pguidCmdGroup = {System.Guid}, uint nCmdID = 3, uint nCmdexecopt
= 0, System.IntPtr pvaIn = 0, System.IntPtr pvaOut = 0) Line 584 + 0x18 bytes
C#




Just run another copy of Visual Studio, Select Debug->Attach to
process, and
attach to the hung VS.
Then pause the debugger, and catch the stack traces of every thread
with
managed frames within



0
Comment actions Permalink

I was getting exactly the same behaviour in build 230. From the posts that I have read, I am assuming that there is a conflict between CodeRush/Refactor! and the Resharper Smart indent on Enter feature.

Mill seems to have foundthat the problem was related to the smart indent feature (I can not confirm this because I have already uninstalled CodeRush/Refactor!). I can however confirm that after the uninstall, the bug does not occur even if I turn the smart indenting on.

0

Please sign in to leave a comment.