Python Forum
pydev error pydev debugger: warning: trying to add breakpoint to file that does not e
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pydev error pydev debugger: warning: trying to add breakpoint to file that does not e
#4
@Larz60+,
danke für Deine Antwort.
Gerne versuche ich das Problem näher zu beschreiben.
Ich habe folgende Scripts:

Das ist das Script Teleskop.py

#!/usr/bin/python
#
# Das ist ein Test!!!
# ===================
#
import sys
sys.path.append(r'/home/pi/pysrc')
import pydevd
pydevd.settrace('192.168.180.33') # replace IP with address
from tkinter import *
from cgitb import text
from _ast import Return
#
#######################################
# Fuer Tersts
#######################################
#
# from InitPyDev import *
from FensterMgr import *
#
print ("Start")
#
# Initialiseiren fuer pydev
# =========================
#
# initpydev()

print ("Einstellfenster\n")
#
#*********************************************
# Hier rufe ich die Funktion von FensterMgr.py
# ********************************************
#
print("X = ",Printme(12))
das ist das Script FensterMgr.py

#!/usr/bin/python
from tkinter import *
from cgitb import text
from _ast import Return
from sys import *
from math import *
# **********************************
# Erstellen und Managen des Fensters
# **********************************
#
    
def Printme(grd):
    print ("Hallo... PRINT meeee")
    x=acos(pi*grd/180)
    y=asin(pi*grd/180)
    print ("X = ", x)
    print ("Y = ", y)
    return(x)
Dann habe ich die Datei pydevd_file_utils.py in den Zeilen 92 - 95 (orginal in meinem script) wie folgt modifiziert:

# example:
PATHS_FROM_ECLIPSE_TO_PYTHON = [
     (r'C:\Users\Kurt\workspace\RemoteSystemsTempFiles\RASPBERRYPI\home\pi\raspiproj\Teleskop.py',
      r'/home/pi/raspiproj/Teleskop.py')
     ]
Das Programm lief wie vorgesehen durch aber ich konnte die Breakpoints nicht ausführen. Das Programm lief durch!
Dabei bekam ich diese Meldungen angezeigt:
Quote:warning: Debugger speedups using cython not found. Run '"/usr/bin/python3" "/home/pi/pysrc/setup_cython.py" build_ext --inplace' to build.
Quote:pydev debugger: unable to find translation for: "C:\Users\Kurt\workspace\RemoteSystemsTempFiles\RASPBERRYPI\home\pi\raspiproj\FensterMgr.py" in ["c:\users\kurt\workspace\remotesystemstempfiles\raspberrypi\home\pi\raspiproj\teleskop.py"] (please revise your path mappings).
Quote:pydev debugger: warning: trying to add breakpoint to file that does not exist: C:/Users/Kurt/workspace/RemoteSystemsTempFiles/RASPBERRYPI/home/pi/raspiproj/FensterMgr.py (will have no effect)

Kann es sein, dass ich noch den Path für das Script FensterMgr.py in der Datei pydevd_file_utils.py oder sonstwo definieren muß?

Gruß

Kurt
Reply


Messages In This Thread
RE: pydev error pydev debugger: warning: trying to add breakpoint to file that does not e - by kwhhst - Jun-10-2019, 09:46 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Debugger azizrasul 6 2,568 Nov-02-2022, 09:46 PM
Last Post: azizrasul
  Idle debugger pops up Run.py - library? fred1232 1 2,317 Jul-27-2021, 01:01 AM
Last Post: Larz60+
  VS Code debugger using wrong Python environment topfox 0 4,259 Jun-09-2021, 10:01 AM
Last Post: topfox
  Threading or pycharm pydev problem Fidgety 2 3,968 Apr-04-2021, 03:28 PM
Last Post: ndc85430
  Using Spyder Full Screen Debugger ErnestTBass 0 2,035 Aug-20-2020, 08:17 PM
Last Post: ErnestTBass
  Debugger Disabled erictan 1 5,343 Apr-30-2020, 02:17 PM
Last Post: pyzyx3qwerty
  pydev debugger: process 3442 is connecting when I run a program with ALT+COMMAND+R Seneca260 1 3,404 Jan-06-2020, 06:57 PM
Last Post: micseydel
  Warning / Error handling in python Prarthana_12 1 5,892 Feb-08-2019, 09:21 PM
Last Post: snippsat
  Python Debugger Suggestions nilamo 3 4,108 Oct-22-2018, 07:05 PM
Last Post: jdjeffers
  gdb breakpoint in python module Viesturs 0 2,762 Jul-27-2018, 02:02 PM
Last Post: Viesturs

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020