Results 1 to 6 of 6

Thread: VS 2008 Addin Bugs

  1. #1
    rpeters is offline Registered User
    Name: Rich Peters
    Organization: braxton technology
    Project: cross platfrom JNI replacement
    Join Date
    May 2009
    Posts
    48

    VS 2008 Addin Bugs

    I have seen a few more issues with the visual studio Ice addin.

    Problem 1:

    The addin appends a component into the visual studio debugging properties environment variable, without regard to what is already there:

    Code:
    PATH=$(QTDIR)\bin;$(PATH) 
     PATH=C:\Program Files (x86)\ZeroC\Ice-3.4.1\bin
    This causes the app not to run

    Problem 2:
    Code:
    The addin doesnt accept edits on the edit control for editing a slice include path in the ice configuration dialog.  
    The only way a path can be added is with the ... button. It silently discards added paths
    Problem 3:

    Code:
    Saving an ice file during a build will cause VS to crash about 3  in 10 times.
    thanks
    Rich

  2. #2
    adam is offline Registered User
    Name: Adam Burry
    Organization: ZeroC
    Project: Ice
    Join Date
    Jun 2010
    Posts
    6
    Thank you for the reports.

    Problem #1: debug environment configuration not updated in a friendly way

    I've reproduced this issue and filed a bug for it.

    I assume you have worked around it by appending ";$(PATH)" to the Ice line?

    Problem #2: Ice Configuration dialog Slice Include Path control does not edit and silently ignores added paths

    I could not reproduce this issue. Could you provide some details of your environment and some reproduction steps that show the issue?

    Problem #3: Saving slice during build crashes Studio

    I have not reproduced this issue yet. (Not surprising considering the race nature of the bug.) However, I was able to get Studio to generate an error message regarding locked slice generated files. I think the issue is probably caused by the fact that saving a slice file causes it to be compiled. The intention is to ensure that slice generated files are up to date and to detect any errors in the slice file as early as possible.

    Obviously, Studio should not crash and this is a serious issue. However, editing files during a build strikes me as something that would not happen very often. Is there a frequent use case for this that I'm missing?

    I've filed a bug for this issue.

  3. #3
    rpeters is offline Registered User
    Name: Rich Peters
    Organization: braxton technology
    Project: cross platfrom JNI replacement
    Join Date
    May 2009
    Posts
    48
    Adam,


    thanks for looking at this. For number 2, I have included a png image.
    click the edit button to change an existing slice include path.
    You are able to type in text without clicking the ... button.

    however if you press ok, the changes are discarded. the changes are only saved via the ... button.

    No doubt problem 3 is some kind of race condition.

    thanks
    Rich
    Attached Images Attached Images

  4. #4
    adam is offline Registered User
    Name: Adam Burry
    Organization: ZeroC
    Project: Ice
    Join Date
    Jun 2010
    Posts
    6
    So, you click "Close" on the dialog while the edit field is still active?

    If that is the case, you need to press "Enter" or "Return" to commit your edit before you close the dialog.

    We are probably violating some usability guideline by allowing you to close the dialog while the edit is active. I agree that we should save the edit before closing the dialog. I'll file a bug.

    If this does not describe the issue as you see it, let me know.

  5. #5
    rpeters is offline Registered User
    Name: Rich Peters
    Organization: braxton technology
    Project: cross platfrom JNI replacement
    Join Date
    May 2009
    Posts
    48
    Adam,

    I guess my expectation was that loss of focus would save the data, as is true for many in-place edit controls.

    thanks
    Rich

  6. #6
    adam is offline Registered User
    Name: Adam Burry
    Organization: ZeroC
    Project: Ice
    Join Date
    Jun 2010
    Posts
    6
    Following up on my own reply regarding setting PATH in "Project Properties | Configuration Properties | Debugging | Environment"

    As you may have discovered my proposed solution does not work. If there are multiple assignments to PATH in the list, only the last one is honoured. Studio does not execute them in sequence as I assumed.

    Therefore, the work around, as I'm sure you've done, is to combine all the paths to a single PATH statement. Of course, you should still terminate it with ";$(PATH)" for a normal prepend.

    Sorry if I lead anyone down the garden path.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. VS 2008 AddIn bug with solution folders
    By bmears in forum Bug Reports
    Replies: 2
    Last Post: 03-03-2011, 01:04 PM
  2. VS2010 ICE Addin
    By MMOInteractive in forum Help Center
    Replies: 3
    Last Post: 11-10-2010, 10:52 AM
  3. VS 2008 Addin stopped slicing some files
    By rpeters in forum Help Center
    Replies: 3
    Last Post: 07-21-2010, 11:14 AM
  4. Replies: 11
    Last Post: 06-24-2010, 03:12 PM
  5. icegridadmin bugs
    By hellocyf in forum Bug Reports
    Replies: 4
    Last Post: 08-01-2006, 10:07 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •