Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Some characters do not appear when typed .

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
Berlech Posted - Mar 26 2013 : 11:05:48 AM
Hi!

This is my first post here, I have just registered as I have an annoying issue with VAX. I hope I am right here because VAX is somehow part of the Atmel Studio and I didn't buy VAX.

First an overview over my system:

Win7 SP1 running on an dual core PC
Visual Studio 2010 SP1 installed
Atmel Studio 6.0 SP2 installed
Atmel Studio 6.1 beta installed
WinAVR-20100110

VAX System Info:
VA_X.dll file version 10.7.1920.0 AVR built 2012.11.07
AVR Studio
msenv.dll version 10.0.40219.1
Comctl32.dll version 6.10.7601.17514
Windows 7 6.1 Build 7601 Service Pack 1
2 processors (x86)
Language info: 1252, 0xc07

Platform: Project defined
Stable Includes:
C:\\WinAVR-20100110\\lib\\gcc\\avr\\4.3.3\\include-fixed;
C:\\WinAVR-20100110\\lib\\gcc\\avr\\4.3.3\\include;
C:\\WinAVR-20100110\\avr\\include;

Other Includes:

Stable Source Directories:

--------------------------------

My issue happens with Atmel Studio 6.1 but also with the former Studio 6.0 SP2. That was the reason why I installed the 6.1 beta. But the issue happens here in the same way as before.

The main settings in VAX are:
Fonts & Colours: default
Listboxes: default
Underlines: Spelling errors unchecked
Corrections: Insert() and closing... unchecked
Refactoring: default
General: default
Display: default, Quick Info Tooltips checked

What happens now? Ok, I have a AVR C porject with about 20 C files and 30 header files. Not C++. Now when I open a source file to edit, so far everything is ok. I can enter opening parenthesis, I can select a block of text and just press / to comment it out, fine! After a while al this stops working. VAX is just eating these characters and doing nothing. After disabling VAX everything is ok, reenabling brings up the issue again.

I have note yet done any detailled analysis but I have a suspicion: When I open a source file by double-clicking it's name in the project explorer, VAX seems to work. But if the file is opened by doble-clicking a entry in the error list, VAX stops working. I have to close and reopen the file manually, the VAX works again.

When typing in an opening parentheses, it does not appear when the carret is after the first character on that line. For example, if the line looks like:
<tab>if( condition == true )
and the caret is before the <tab> or after the <tab> but before the if statement, the parentheses appears. If the caret is anywhere else on the same line, it does not work.

Also selecting a block of text and entering / or * doesn't do anything.

Finally surrounding a piece of code with any snippet does also not work.

In an older post, I found a statement about showing extra files in the project explorer. this IDE setting is disabled.

I hope, this explanation can help to nail down the issue. Hopefully it's just a configuration issue or has a simple workaround.

Thanks in advance!

Bernhard
7   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Apr 04 2013 : 8:59:48 PM
I can reproduce the problem here, it seems to be triggered by using a makefile to compile the solution:

case=73462
feline Posted - Apr 02 2013 : 7:14:02 PM
I have the files, thank you for these. I have replied via email:

case=73391
Berlech Posted - Apr 02 2013 : 02:56:24 AM
Hi!

Thanks for your answer! I haven't been at my desk for a few days because of Easter, therefore the delayed answer. Here are the answers to your questions:

The user has administrator rights and the UAC of Windows 7 is disabled at all.

If I open the extension manager and select "Installed Extensions" there are no extensions listed. Very strange! I use a german Windows and if I install Atmel Studio, it uses the localisation settings of the OS by default. So AS6 is set to german as well. If I set it to English explicitly, I get the entries in the extension manager... Again, very strange. BTW, changing the language does not change the problematic behaviour of VAX.

With english settings I get 9 entries in the AS6.1 installation:
Atmel ARM GNU Toolchain,
Atmel AVR32 GNU Toolchain,
Atmel AVR8 GNU Toolchain,
Atmel Galery,
Atmel Kits,
Atmel Software Framework,
Atmel Toolchain Provider,
AVR macro Assembler,
Visual Assist X.

These are the default extension, none has been installed by me. In AS6.0, there are only 6 of them: AVR32, Kits and Toolchain Provider is missing compared to AS6.1.

The solution and all related files as well as the source files itself are loaded from a local hard disk.

The system uses two monitors, the main monitor uses 1920x1200 and the 2nd one uses 1280x1024.

The configuration files are sent to you like requested.

Thanks again and best regards,
Bernhard



feline Posted - Mar 27 2013 : 2:49:08 PM
I should have said to send me the exported settings via the form:

http://www.wholetomato.com/support/contact.asp

including this thread ID or URL in the description, so we can match it up.
feline Posted - Mar 27 2013 : 2:19:30 PM
I suspect that having these files opened a second time when double clicking in the Error List is a factor here. So far I cannot reproduce this problem, using either Atmel 6.0 SP2 or 6.1 beta. I have tested 6.1 beta under Windows 7 64bit, the same OS as you, just in case that was a factor.

Are you running Atmel as an administrator or normal user?

Can you please look in:

IDE tools menu -> Extension Manager...

and then select "Installed Extensions" from the top left hand corner of this dialog, to see your installed extensions. I have 7 extensions with names starting "Atmel", one called "AVR macro Assembler" and Visual Assist X. This is a fresh default install of Atmel 6.1 beta. Do you have a different list?

Its almost as if something is interfering with how files are being loaded from the Error List. Is your solution on a local drive, or some form of mapped or network drive?

Can you please export your VA and IDE settings and send them to me:

VA Options -> Performance -> Export Settings
IDE tools menu -> Import and Export Settings -> Export selected environment settings

I can then import them here and see if I can reproduce the problem. This should also give me your window layout, in case that is somehow a factor.

What resolution is your monitor running at, and do you have more than one monitor on your system?
Berlech Posted - Mar 27 2013 : 03:16:59 AM
Hi!

Thanks for the prompt answer! Sorry, I forgot to write: VA Options -> Advanced -> Display -> Highlight current line is checked and Background mode is set.

The VA Context and navigation fields are present as well as the Go button.

When I double-click a error line, the source file is opened, the source line containing that error is active and highlighted. If I start to type normal characters, they appear immediately so the editor window has got the focus like expected.

Changing files with Ctrl-Tab doesnt fix this behaviour.

Another observation: If there are more than one file open, all files opened via the project explorer seem to work correctly where all files opened by the error list show this problem.

Another interesting scenario: The file with the error is already opened by the project explorer in the editor window and VAX is behaving correctly there. Now I double-click an error in the error list which is located in the SAME source file, this gives me a 2nd editor window of the same file. The newly opened file has the VAX problem. If I switch back to the previously opened file, this still works, going back to the 2nd file, the problem reappears.

Double-clicking another error in the same source file does NOT open a 3rd file, the erroneous line is highlighted in the 2nd file and still the same behaviour. The two file do not have a :1 and :2 mark like a 2nd file would have, when opened by IDE -> Window -> New Window.

BTW: If I have opened just one file, done by double-clicking an error list entry and select any function from the Context field, this opens again a new window which behaves correctly.

So finally I see two things:
1. Some editor windows seem to be in a kind of different operation mode than others.
2. The error list but also VAX internal functionality does not (not always?) reuse an already opened editor for the specific file.

Thanks again for your effort!

Best regards,
Bernhard



feline Posted - Mar 26 2013 : 11:44:37 PM
Using Atmel 6.0 SP2 so far I cannot reproduce this problem. Opening a .c file by double clicking in the Error list window, on an error line, is not causing me any problems.

When this happens, do you have the VA context and navigation fields showing at the top of the editor? There should be a Go button at the right hand side of the bar.

Do you have:

VA Options -> Advanced -> Display -> Highlight current line

turned on? I am wondering if the current line in the file is being highlighted when you have this problem.

If you simply change files, with Ctrl-Tab, and then change back to the problem file, does this fix the problem? What about Alt-O twice, assuming there is a matching .h file to jump to.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000