support

Forum Replies Created

Viewing 15 posts - 5,986 through 6,000 (of 7,816 total)
  • Author
    Posts
  • in reply to: Mbed BSP for v5.1 #9265
    support
    Keymaster

    Hi,

    Yes, sorry for the delay. We have encountered a few small issues with it and are currently fixing those. The current estimate is 1-2 weeks more.

    in reply to: Highlight issues in Visual Studio's Dark Theme #9259
    support
    Keymaster

    Hi,

    Sorry, this is a separate issue. The color for renaming suggestions is currently set regardless of the color theme.

    The workaround is very straight-forward: please change it via Tools->Options->Fonts and Colors->Text Editor->Refactoring Suggestion.

    in reply to: cc: error: ProvideDirectories: No such file or directory #9258
    support
    Keymaster

    Hi,

    This looks like the Makefile got corrupt somehow. Could you please attach it so that we could quicky check for common problems?

    in reply to: SSH – Cannot connect: Passphrase Required… #9256
    support
    Keymaster

    Hi,

    Sorry, we only provide support to users of our commercial products like VisualGDB. We will eventually release an updated version of SmarTTY that will include the fix, but we cannot give any timelines on that, sorry.

    in reply to: Slow stepping. Here is why I think #9248
    support
    Keymaster

    Hi,

    Thanks, we will add this to our knowledge base.

    Regarding ‘bt’, we use stacklistframes simply because it returns structured output that can be easily parsed; with ‘bt’ it could be tricky to separate arguments from function names, etc (e.g. when having namespaces and templates). If you believe using ‘bt’ makes a substantial difference, we could add a method to our extensibility API to replace the normal ‘list frames’ operation and you can experiment with writing a plugin based on the ‘bt’ command.

    in reply to: SSH – Cannot connect: Passphrase Required… #9247
    support
    Keymaster

    Hi All,

    We have investigated this further and it looks like one of the recent OpenSSL releases broke backward compatibility in the logic related to RSA keys. We have rebuilt the libssh2 library using an older OpenSSL and it should work normally.
    Please try this build: VisualGDB-5.2.11.1187.msi

    in reply to: Slow stepping. Here is why I think #9244
    support
    Keymaster

    Hi,

    This might be some sort of plugin interference. Can you try doing the same on a different machine with a clean VS installation (or under a different user account on the same machine)? If the behavior is not reproduced, please try disabling other VS plugins. If this solves the problem, please try enabling them one-by-one to see which one causes the issue.

    in reply to: Highlight issues in Visual Studio's Dark Theme #9243
    support
    Keymaster

    Hi,

    Perhaps this is a different issue? Could you please attach a screenshot so that we could see if this can be reproduced?

    in reply to: Break All only works once #9242
    support
    Keymaster

    Hi,

    Most likely the problem you are observing happens because you run the ‘c’ command in the GDB console window instead of using the Visual Studio GUI to continue execution (F5). This breaks synchronization between VS and the GDB session and makes your debug session look it is hanging.

    We understand that it might be confusing, so we have added support for parsing and redirecting the c, n, s and f commands to the upcoming VisualGDB 5.2 beta 3.

    If you want to always load some extra symbols before debugging, you can add those commands to the Additional GDB Commands page of VisualGDB Project Properties or use the interactive mode of the Quick Debug command to run any custom commands you want in the console mode and then let VisualGDB take control once everything is set up.

    in reply to: Slow stepping. Here is why I think #9234
    support
    Keymaster

    Hi,

    Thanks for confirming this. Looks like either something in your project prevents this optimization from turning on, or some other VS extension is requesting information about all threads.

    Typically doing a single step even in a multi-threaded environment should result in something like this:

    -stack-select-frame 0
    ^done
    -thread-select 1
    ^done,new-thread-id="1",frame={level="0",addr="0x00000000004008d4",func="main",args=[{name="argc",value="1"},{name="argv",value="0x7fffffffeb48"}],file="LinuxProject3.cpp",fullname="/tmp/VisualGDB/f/PROJECTS/TEMP/LinuxProject3/LinuxProject3.cpp",line="7"}
    -exec-next
    ^running
    *running,thread-id="all"
    *stopped,reason="end-stepping-range",frame={addr="0x00000000004008ef",func="main",args=[{name="argc",value="1"},{name="argv",value="0x7fffffffeb48"}],file="LinuxProject3.cpp",fullname="/tmp/VisualGDB/f/PROJECTS/TEMP/LinuxProject3/LinuxProject3.cpp",line="8"},thread-id="1",stopped-threads="all",core="0"
    -stack-list-frames --thread 1
    ^done,stack=[frame={level="0",addr="0x00000000004008ef",func="main",file="LinuxProject3.cpp",fullname="/tmp/VisualGDB/f/PROJECTS/TEMP/LinuxProject3/LinuxProject3.cpp",line="8"}]
    -stack-list-arguments --thread 1 0
    ^done,stack-args=[frame={level="0",args=[name="argc",name="argv"]}]

    Could you please check if you get more than one “-stack-list-frames” command per step with this basic program and your toolchain:

    #include <iostream>
    #include <pthread.h>
    #include <unistd.h>
    
    using namespace std;
    
    void *thread(void *)
    {
        for (;;)
        {
            usleep(100000);        
        }
    }
    
    int main(int argc, char *argv[])
    {
        pthread_t thr;
        pthread_create(&thr, 0, thread, 0);
        char sz[] = "Hello, World!";    //Hover mouse over "sz" while debugging to see its contents
        cout << sz << endl;    //<================= Put a breakpoint here
        for (;;)
        {
            usleep(100000);        
        }
        return 0;
    }
    in reply to: ESP8266 iram1_0_seg too Large #9233
    support
    Keymaster

    Hi,

    Perhaps the linker just reports the wrong function? Please try relocating ALL the functions from _divdi3.o in libgcc.a

    in reply to: How to change toolchain to common gcc #9232
    support
    Keymaster

    Hi,

    You can do that by creating another project with the new toolchain and copying the ToolchainID value from its stm32.xml file to the old project’s stm32.xml.

    in reply to: Highlight issues in Visual Studio's Dark Theme #9231
    support
    Keymaster

    Hi,

    Please try resetting the Visual Studio fonts & colors cache by deleting the HKCU\Software\Microsoft\VisualStudio\14.0\FontsAndColors\Cache key.

    This should force VS to reload the correct colors.

    in reply to: Source path outside project directory. #9230
    support
    Keymaster

    Hi,

    You can try using the tty command.

    in reply to: ESP8266 iram1_0_seg too Large #9220
    support
    Keymaster

    Hi,

    Strange. Could you post the entire error message and a few lines above/below?

Viewing 15 posts - 5,986 through 6,000 (of 7,816 total)