julienmercenier

Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • in reply to: VisualGDB Python file import problems when debug #24811
    julienmercenier
    Participant

    Thank you for the help,

    This solved my problem.

     

    BR,

    Julien

    julienmercenier
    Participant

    sorry for the bad formatting

     

    Still have the same breakpiont update command

    I double checked the path and they are correct.

    julienmercenier
    Participant

    Hi,

    I’ve tried updating VisualGDB Project Properties -> Path Mapping and this does not change anything.

    I still have
    <div id=”crayon-5cc2bada24f5e246802850-1″ class=”crayon-line”><span class=”crayon-e”>Breakpoint </span><span class=”crayon-e”>update </span><span class=”crayon-v”>command</span><span class=”crayon-o”>:</span> <span class=”crayon-o”>+</span><span class=”crayon-v”>fTest_AcquisitionDelay</span><span class=”crayon-sy”>.</span><span class=”crayon-v”>py</span><span class=”crayon-o”>:</span><span class=”crayon-cn”>199</span></div>
    <div></div>
    <div>Note that I double checked my paths (see attached file).</div>
    <div></div>
    <div>Any other idea ?</div>
     

    Attachments:
    You must be logged in to view attached files.
    julienmercenier
    Participant

    You’ll find requested in attach

     

    BR,

    Julien

    Attachments:
    You must be logged in to view attached files.
    julienmercenier
    Participant

    Hi,

    Sorry but I think you did not check the last attatched log file  “VisualGdb-Session-Log-file_After-Python-modified-update.txt” where it shows that I pointed to the expected purposely built Python

    gdb --interpreter mi --args "/usr/local/bin/python3.6" "/tmp/com_sysprogs_PythonDebugWrapper.py" "/tmp/com_sysprogs_PythonBreakpointModule.so" /tmp/VisualGDB/c/Local/PRO/DT777/Tests/MSML_PyExt/../Scripts/Test_AcquisitionDelay.py

    Julien

     

     

    julienmercenier
    Participant

    Hi,

    I’ve yet tried the tutorial to build a modified Python executable without success.

    Note that to manage to have a successful build of my extension, i had to modify the python Makefile to add the -fPIC option.

     

    Attachments:
    You must be logged in to view attached files.
    julienmercenier
    Participant

    Also, when hitting a breakpoint in C++, the call stack is show without call location.
    Clicking on any line leads to  source not available “Frame Not in module”

    julienmercenier
    Participant

    Hi, thank you for the answer.

    Unfortunately,VisualGDB-5.4.104.3035.msi does not solve any probem.

    As requested

    <hr />

    VisualGDB launcher Output

    VisualGDB: Executing postdebug actions
    Found 0 .natvis files in the current project
    VisualGDB: Executing predebug actions
    VisualGDB: Launching gdb
    VisualGDB: Run “gdb –interpreter mi –args “python” “/tmp/com_sysprogs_PythonDebugWrapper.py” “/tmp/com_sysprogs_PythonBreakpointModule.so” $(SourceDir)/../Scripts/Test_ApiGeneral.py ” in directory “$(TargetDir)” on nvidia@172.16.6.79 (SSH)
    Creating pending breakpoint…

    Creating pending breakpoint…

    Creating pending breakpoint…

    Creating pending breakpoint…

    VisualGDB: Executing postdebug actions

     

    <hr />

    GDB Session log file :

     

    <hr />

     

    VisualGdb Diagnostic console:

    SSH [43]: executing command: export PATH=”/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin” && export QT_QPA_PLATFORMTHEME=”appmenu-qt5″ && export XDG_DATA_DIRS=”/usr/local/share:/usr/share:/var/lib/snapd/desktop” && “test” -d “/tmp/VisualGDB/c/Local/PRO/DT777/MSML/MSML”
    SSH [43]: command exited with code 0 after 29 msec
    SSH [44]: executing command: cd “/tmp/VisualGDB/c/Local/PRO/DT777/MSML/MSML” && export PATH=”/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin” && export QT_QPA_PLATFORMTHEME=”appmenu-qt5″ && export XDG_DATA_DIRS=”/usr/local/share:/usr/share:/var/lib/snapd/desktop” && export LANG=”en_US.UTF-8″ && “make” CONFIG=Debug
    SSH [44]: command exited with code 0 after 50 msec
    No deployment host specified for /tmp/VisualGDB/c/Local/PRO/DT777/MSML/MSML/Debug/MSML.so. Skipping…
    SSH [45]: executing command: export PATH=”/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin” && export QT_QPA_PLATFORMTHEME=”appmenu-qt5″ && export XDG_DATA_DIRS=”/usr/local/share:/usr/share:/var/lib/snapd/desktop” && “test” -d “/tmp/VisualGDB/c/Local/PRO/DT777/Tests/MSML_PyExt”
    SSH [45]: command exited with code 0 after 26 msec
    SSH [46]: executing command: cd “/tmp/VisualGDB/c/Local/PRO/DT777/Tests/MSML_PyExt” && export PATH=”/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin” && export QT_QPA_PLATFORMTHEME=”appmenu-qt5″ && export XDG_DATA_DIRS=”/usr/local/share:/usr/share:/var/lib/snapd/desktop” && export LANG=”en_US.UTF-8″ && “make” CONFIG=Debug
    SSH [46]: command exited with code 0 after 50 msec
    ShouldRedirectToVisualGDBImpl(): C:\Local\PRO\DT777\Tests\MSML_PyExt\MSML_PyExt-Debug.vgdbsettings
    Searching for active configuration for MSML_PyExt\MSML_PyExt.vcxproj…
    Trying fast lookup…
    Found! Configuration name = Debug
    Searching for active configuration for MSML_PyExt\MSML_PyExt.vcxproj…
    Trying fast lookup…
    Found! Configuration name = Debug
    Searching for active configuration for ..\MSML\MSML\MSML.vcxproj…
    Trying fast lookup…
    Found! Configuration name = Debug
    Locating deployed dependencies for project…
    No deployment host specified for /tmp/VisualGDB/c/Local/PRO/DT777/MSML/MSML/Debug/MSML.so. Skipping…
    SSH [47]: executing command: export PATH=”/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin” && export QT_QPA_PLATFORMTHEME=”appmenu-qt5″ && export XDG_DATA_DIRS=”/usr/local/share:/usr/share:/var/lib/snapd/desktop” && “test” -f “/tmp/com_sysprogs_PythonBreakpointModule.so”
    SSH [47]: command exited with code 0 after 27 msec
    SSH [48]: executing command: export PATH=”/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin” && export QT_QPA_PLATFORMTHEME=”appmenu-qt5″ && export XDG_DATA_DIRS=”/usr/local/share:/usr/share:/var/lib/snapd/desktop” && “test” -f “/tmp/com_sysprogs_PythonDebugWrapper.py”
    SSH [48]: command exited with code 0 after 42 msec
    SSH [49]: executing command: cd “/tmp/VisualGDB/c/Local/PRO/DT777/Tests/MSML_PyExt/Debug” && stty -echo && export PATH=”/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin” && export QT_QPA_PLATFORMTHEME=”appmenu-qt5″ && export XDG_DATA_DIRS=”/usr/local/share:/usr/share:/var/lib/snapd/desktop” && export LANG=”en_US.UTF-8″ && export PYTHONPATH=”${PYTHONPATH}:/tmp/VisualGDB/c/Local/PRO/DT777/Tests/MSML_PyExt/Debug” && “gdb” –interpreter mi –args “python” “/tmp/com_sysprogs_PythonDebugWrapper.py” “/tmp/com_sysprogs_PythonBreakpointModule.so” /tmp/VisualGDB/c/Local/PRO/DT777/Tests/MSML_PyExt/../Scripts/Test_ApiGeneral.py
    Creating a temporary SSH console…
    Requesting a temporary console: tty && sleep 2147483647
    Searching for active configuration for MSML_PyExt\MSML_PyExt.vcxproj…
    Trying fast lookup…
    Found! Configuration name = Debug
    [+25434] GDB stop event received
    [+248] GDB stop event received
    SSH [49]: command exited with code 0 after 1794 msec
    Searching for active configuration for MSML_PyExt\MSML_PyExt.vcxproj…
    Trying fast lookup…
    Found! Configuration name = Debug
    Searching for active configuration for MSML_PyExt\MSML_PyExt.vcxproj…
    Trying fast lookup…
    Found! Configuration name = Debug
    Searching for active configuration for MSML_PyExt\MSML_PyExt.vcxproj…
    Trying fast lookup…
    Found! Configuration name = Debug
    Searching for active configuration for MSML_PyExt\MSML_PyExt.vcxproj…
    Trying fast lookup…
    Found! Configuration name = Debug

    Attachments:
    You must be logged in to view attached files.
Viewing 8 posts - 1 through 8 (of 8 total)