VS debugging problem with #DEN



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 13/09/2010 at 12:56, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   12 
    Platform:   Windows  ;   
    Language(s) :     C++  ;

    ---------
    Hi,

    I have a big problem debugging under R12 in VS. When I pass a vector to a function the vector looses it's values and VS displays s.th. like 1.611089128938e-315#DEN for each componet. I know, that means a value very close to zero, but it's definitly a wrong output, because the function seems to work correctly anyway. But this makes it impossible to detect bugs. Any tips?

    The screenshot shows the debugging the call

    p = Do_Nothing(Vector(100, 200, 300)); // the result is correct.

    _<_img src="http://www.c4dplugin.de/vs_debug.jpg" border="0" /_>_



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 14/09/2010 at 01:20, xxxxxxxx wrote:

    I have no answer the problem but I can confirm it. I will forward it to the developers.

    cheers,
    Matthias



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 14/09/2010 at 03:17, xxxxxxxx wrote:

    Please install the latest VS2005 debugger plugin for Cinema 4D. This should fix it, at least it does here.

    Direct download:
    http://http.maxon.net/pub/sdk/12/VisualStudio2005.zip

    or here  http://www.maxon.net/en/support/older-sdk-downloads.html under Additional Downloads

    cheers,
    Matthias



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 14/09/2010 at 04:23, xxxxxxxx wrote:

    Thanks Matthias.

    BTW, just out of curiosity: When installing R12, the installer also installs Visual Studio redistributables. What is it? Is it required for compiling?



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 14/09/2010 at 05:25, xxxxxxxx wrote:

    Originally posted by xxxxxxxx

    Ten installing R12, the installer also installs Visual Studio redistributables. What is it? Is it required for compiling?

    It installs DLLs needed for running Cinema.

    cheers,
    Matthias



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 14/09/2010 at 15:17, xxxxxxxx wrote:

    Unfortunately the plugin doesn't fix the problem. It's an cosmetic effect only. The vector in the example above is now displayed as

    p {x=0,00000 y=0,00000 z=0,00000} LVector

    Again, v is assigned the right value and so the function returns the right value.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 15/09/2010 at 01:25, xxxxxxxx wrote:

    Ah, you are right. I will check back with the developers.

    cheers,
    Matthias



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 15/09/2010 at 06:43, xxxxxxxx wrote:

    p {x=0,00000 y=0,00000 z=0,00000} LVector

    Again, v is assigned the right value and so the function returns the right value.

    i'm getting this same issue. please help asap
    thanks



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 18/09/2010 at 14:28, xxxxxxxx wrote:

    Any news?

    I've got the impression that VS 2005 crashes from time to time since I've modified the autoexp.dat as described in the debugger plugin text file.

    BTW: I'm working on Win7 64Bit.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 20/09/2010 at 01:27, xxxxxxxx wrote:

    Sorry, I have no definite answer yet.

    cheers,
    Matthias


Log in to reply