Skip to main content
Visitor II
November 20, 2011
Question

STVD debugging of C source with spaces in path

  • November 20, 2011
  • 3 replies
  • 1230 views
Posted on November 20, 2011 at 16:04

I'm using STVD 4.3.0 and trying to debug C source that contains spaces in the path - e.g., ''c:\my project\trunk\source.c''.  Everything builds, loads, runs, etc., but I can only debug in assembly.  And while that is fine some of the time, it can be a bit tedious.  In the debug source view, all the C source references show as something like ''C:\MY:18'' where 18 is the line number.  Any tips or tricks to fix?

IIRC, this only started happening when I switched from using the Cosmic compiler to Raisonance

#spaces-in-path-names #stvd-raisonance
    This topic has been closed for replies.

    3 replies

    Visitor II
    November 21, 2011
    Posted on November 21, 2011 at 11:58

    Hi Eric,

    Thanks for your report.

    This problem has been sucessfully reproduced in the Raisonance Labs, and has been transmitted to the R&D team so that they can fix it in the future.

    A new RKit-STM8 is expected very soon now, but we will not have enough time to integrate any fix, as the validation phase is already pretty much finished. So the fix will appear in the next release (which is not yet planned)

    Best Regards,

    Bruno Richard

    Raisonance Support Manager

    Visitor II
    November 23, 2011
    Posted on November 23, 2011 at 13:38

    Hello Eric,

    Can you try the previous version of STVD: STVD  4.2.1?

    It seems there is a problem for pathnames with white spaces in version 4.3.0.

    Robert Jamier

    ST MCD Tools

    Super User
    November 23, 2011
    Posted on November 24, 2011 at 00:12

    There is one simple lesson to learn from this:

    Never

    have spaces in

    any

    pathnames associated with a software development project!

     

     

    It is just asking for trouble!