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
#5
@Larz60+,
sorry I anwered in german by mistake.
I will write the post in english now.

Thanks for your answer.
I like to try to describe the problem more in detail.
For my program I use the following scripts:
  • Teleskop.py
  • FensterMgr.py
  • pydevd_file_utils.py here I modified the lines 92-95 in the original scrip.

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))
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)
pydevd_file_utils.py

# example:
PATHS_FROM_ECLIPSE_TO_PYTHON = [
     (r'C:\Users\Kurt\workspace\RemoteSystemsTempFiles\RASPBERRYPI\home\pi\raspiproj\Teleskop.py',
      r'/home/pi/raspiproj/Teleskop.py')
     ]
The program works as planned, but I cannot set a breakpoint.
But when I debug the programm I get three messages:

1.
Quote:warning: Debugger speedups using cython not found. Run '"/usr/bin/python3" "/home/pi/pysrc/setup_cython.py" build_ext --inplace' to build.
2.
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).
3.
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)

Do you think I have to setup the path for the script FensterMgr.py in the file pydevd_file_utils.py
or somewhere else?
I would be glad if you or somebody else can help me!


With kind regards
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, 02:18 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Debugger azizrasul 6 1,253 Nov-02-2022, 09:46 PM
Last Post: azizrasul
  Idle debugger pops up Run.py - library? fred1232 1 1,677 Jul-27-2021, 01:01 AM
Last Post: Larz60+
  VS Code debugger using wrong Python environment topfox 0 2,551 Jun-09-2021, 10:01 AM
Last Post: topfox
  Threading or pycharm pydev problem Fidgety 2 2,602 Apr-04-2021, 03:28 PM
Last Post: ndc85430
  Using Spyder Full Screen Debugger ErnestTBass 0 1,493 Aug-20-2020, 08:17 PM
Last Post: ErnestTBass
  Debugger Disabled erictan 1 4,027 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 2,685 Jan-06-2020, 06:57 PM
Last Post: micseydel
  Warning / Error handling in python Prarthana_12 1 5,163 Feb-08-2019, 09:21 PM
Last Post: snippsat
  Python Debugger Suggestions nilamo 3 3,119 Oct-22-2018, 07:05 PM
Last Post: jdjeffers
  gdb breakpoint in python module Viesturs 0 2,256 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