Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Wizard-made C++ add-in crashes with VA 1544 on
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Davide
New Member

Japan
7 Posts

Posted - Feb 21 2007 :  01:55:25 AM  Show Profile  Reply with Quote
Hello,

I recently tried to build a simple Visual Studio .NET add-in but apparently there is some conflict with Visual Assist X.

To debug an add-in, a new copy of devenv.exe is launched, but that quickly crashes and the execution is halted.

A few things:

  • Disabling VA solves the problem
  • I'm using simple code fresh off the wizard. File -> New -> Project -> Other Project Types -> Extensibility -> Visual Studio Add-in
  • Only C++ add-in code crashes. C# runs fine
  • VA version is the 1544 downloaded as of 2007/02/21
  • VS 2005 SP English (8.0.50727.762 (SP.050727-7600))
  • Windows XP SP2 Japanese

Here is what I see in the output window of the first IDE trying to launch the new one:

[...]
'devenv.exe': Loaded 'C:\\WINDOWS\\system32\\winmm.dll', No symbols loaded.
%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s
%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s
%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s'devenv.exe': Loaded 'C:\\WINDOWS
\\system32\\inetmib1.dll', No symbols loaded.
'devenv.exe': Loaded 'C:\\WINDOWS\\system32\\iphlpapi.dll', No symbols loaded.
[...]
'devenv.exe': Loaded 'C:\\WINDOWS\\system32\\setupapi.dll', No symbols loaded.
First-chance exception at 0x01b139ec in devenv.exe: 0xC0000096:
Privileged instruction.
First-chance exception at 0x01b13a27 in devenv.exe: 0xC000001D:
Illegal Instruction.
First-chance exception at 0x01b3049a in devenv.exe: 0xC0000005: Access
violation writing location 0x00000000.


Thank you,
Davide

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Feb 21 2007 :  08:28:07 AM  Show Profile  Reply with Quote
I have just created a new plugin project using VS2005. When I was asked which language to use I selected C++/CLR, all of the other options in the wizard were left alone - I simply accepted the defaults.

The only "odd" thing that happens here when I run the project a message box saying :

For security purposes, this program will not run while system debuggers are active. Please remove or
disable the system debugger before trying to run this program again.

This message is from VA. Are you seeing this message on your system?

zen is the art of being at one with the two'ness
Go to Top of Page

Davide
New Member

Japan
7 Posts

Posted - Feb 21 2007 :  10:39:23 PM  Show Profile  Reply with Quote
I don't get that message box.
I tried with another PC, using again Japanese XP and I get the same crash. I also tried to set the non-unicode software default settings to US English (this sometimes solves some issues) but nothing has changed.
Ummmmmm !
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Feb 22 2007 :  2:22:06 PM  Show Profile  Reply with Quote
I agree, "Ummmmm". I have uploaded my test project here:

http://forum.wholetomato.com/colin/forumimages/5940_MyAddin1.zip

Can you try this and see if it makes any difference? It was generated on an English system, using VS2005 with VA 1544. I don't really see why the localisation would have such an impact on things.

Do you have any other plugin's installed?
Are you running a system debugger, or anything else that might be a factor, or might be interfering?

zen is the art of being at one with the two'ness

Edited by - feline on Feb 22 2007 2:22:26 PM
Go to Top of Page

Davide
New Member

Japan
7 Posts

Posted - Feb 23 2007 :  04:45:11 AM  Show Profile  Reply with Quote
Same thing happens with 5940_MyAddin1.zip 8(
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Feb 23 2007 :  3:59:12 PM  Show Profile  Reply with Quote
Can you please try upgrading to VA 1548 to see if this makes any difference, this is our current general release build:

details here:
http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=5946

direct download link:
http://www.wholetomato.com/downloads/VA_X_Setup1548.exe

Do you have any other plugin's installed?
Do you have any form of system debugger installed?
Any other "odd" programs that might be effecting this?

zen is the art of being at one with the two'ness
Go to Top of Page

Davide
New Member

Japan
7 Posts

Posted - Feb 23 2007 :  6:21:51 PM  Show Profile  Reply with Quote
Sadly enough, I just realized that my support ended on the 21st ! So I can't run the 1548 (Side note: I'm hoping my current employer will buy my next license. But I suspect it will be difficult unless there is broader company approval, which would probably mean that there is a Japanese language version ;).

I'm not running any other external add-in nor any system debugger. I tried this both on my work pc (an HP) and home pc (a Vaio SZ). Those are substantially different systems with different anti-virus software.
I tried disabling resident software such as: Google Desktop Search, Picasa and Google Web Accel.

The built add-in gets actually called and I saw it crash (with the ATL version) the second time around it came and left OnConnection().
The call stack at crash time is not very helpful.. it's all internal calls. However I can try detail more the status if you want..

Thank you,
Davide
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Feb 24 2007 :  3:10:23 PM  Show Profile  Reply with Quote
On the licence front, it might be worth pointing out that you only need to renew your maintenance, which is a lot cheaper than buying a new licence, see here:

http://www.wholetomato.com/purchase/default.asp

Plus this page might help you make a good argument:

http://www.wholetomato.com/purchase/roi.asp

zen is the art of being at one with the two'ness
Go to Top of Page

Davide
New Member

Japan
7 Posts

Posted - Feb 24 2007 :  9:04:47 PM  Show Profile  Reply with Quote
Thanks for the tips. The renewal price is definitely a nice thing. I'm a happy user and I promote VA whenever I can.
I think I will most likely renew the support.. as soon as a new release with sensible improvements comes out 8)
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Feb 26 2007 :  1:14:28 PM  Show Profile  Reply with Quote
Do I even want to ask what sort of sensible improvements would sway you? We have a lot of outstanding feature requests, since different people are looking for different enhancements to VA.

zen is the art of being at one with the two'ness
Go to Top of Page

Davide
New Member

Japan
7 Posts

Posted - Feb 27 2007 :  01:00:11 AM  Show Profile  Reply with Quote
I think you just did ask ;)

What I would like to have is a smart system that understand what portions of code I'm working on and automatically opens side views of those regions.

CTRL-TAB works great (mapped as "next window", not to the "window list" thing that came up with VS 2005) if one is working to pieces of code across files, but when working on the same file, it's all: scroll up, scroll down, scroll up. Bookmarks help to some extent but they grow rapidly and one loses track of them, plus in VS 2005 they even potentially throw you into a different window.

I'm not sure where these "side views" would form (on the side ?!). And I suppose they would be created centered on blocks of text that are being worked on during a certain time frame.

On a more general note, I guess I would like to break with the "edit a bunch of routines in one file" legacy and rather have them neatly split per-view.
Perhaps a view would coincide to a routine, and one could use CRTL-TAB to switch around recently used routines much like it works now with files ?

..well, something like that !

Thanks,
Davide
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Feb 27 2007 :  12:53:55 PM  Show Profile  Reply with Quote
I would not hold your breath for VA trying do something like this, not directly anyway.

What I would suggest is more files, much smaller files, with a "careful" naming convention, so that all of the files that do a single operation have a common part to their name.

Now use window menu -> close all
OFIW dialog, and filter on the common part of the name for the operation you want
Select the files in the dialog and press Enter, they all get opened.

zen is the art of being at one with the two'ness
Go to Top of Page

Davide
New Member

Japan
7 Posts

Posted - Feb 27 2007 :  3:30:23 PM  Show Profile  Reply with Quote
> I would not hold your breath for VA trying do something like this, not directly anyway.

..well I was trying to write my own extension after all 8)

Writing smaller files would probably get unmanageable quickly without a system in-place that handles creation, destruction and renaming of such files.
I suppose that one could always try to get by with folding/outlining and multiple views.

Thank you,
Davide
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000