[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyKDE] eric3 odd exception
From: Detlev Offenbach <detlev () die-offenbachs ! de>
Date: 2005-03-18 17:06:04
Message-ID: 200503181806.04312.detlev () die-offenbachs ! de
[Download RAW message or body]
Hi,
there should be cleaner way to handle it, agreed. But does it make sense to
profile an application that isn't debugged first?
Detlev
Am Freitag, 18. März 2005 11:26 schrieb Jul:
> Hi Detlev,
>
> - open a new sheet in eric
> - write a non-existing module import instruction :
> (e.g. import foo)
> - Choose "Profile the script"
> - After the exception, you should obtain the following error
>
> I'm not sure the DebugClientBase exception should appear, is
> it ?
> ++
> Jul.
>
> ###############################################
> Original exception was:
> Traceback (most recent call last):
> File
> "/mnt/softs/CDAT/lib/python2.3/site-packages/eric3/Debugger/DebugClient.py"
>, line 55, in ?
> debugClient.main()
> File
> "/mnt/softs/CDAT/lib/python2.3/site-packages/eric3/Debugger/DebugClientBase
>.py", line 1600, in main
> self.interact()
> File
> "/mnt/softs/CDAT/lib/python2.3/site-packages/eric3/Debugger/DebugClientBase
>.py", line 828, in interact
> self.eventLoop()
> File
> "/mnt/softs/CDAT/lib/python2.3/site-packages/eric3/Debugger/DebugClientBase
>.py", line 848, in eventLoop
> self.readReady(self.readstream.fileno())
> File
> "/mnt/softs/CDAT/lib/python2.3/site-packages/eric3/Debugger/AsyncIOBase.py"
>, line 68, in readReady
> self.handleLine(s)
> File
> "/mnt/softs/CDAT/lib/python2.3/site-packages/eric3/Debugger/DebugClientBase
>.py", line 488, in handleLine
> self.prof.run('execfile(' + `sys.argv[0]` + ')')
> File "/mnt/softs/CDAT/lib/python2.3/profile.py", line 403,
> in run
> return self.runctx(cmd, dict, dict)
> File "/mnt/softs/CDAT/lib/python2.3/profile.py", line 409,
> in runctx
> exec cmd in globals, locals
> File "<string>", line 1, in ?
> File "/home/jv/test_bidon.py", line 1, in ?
> import foo
> ImportError: No module named foo
>
> ************************ ADSL JUSQU'A 8 MEGA + 3 MOIS DE TELEPHONE GRATUIT
> ************************ L'ultra haut débit à 15EUR/mois seulement ! Et
> vous téléphonez gratuitement en France vers les postes fixes, hors numéros
> spéciaux pendant 3 mois.
> Pour profiter de cette offre exceptionnelle, cliquez ici :
> http://register.tiscali.fr/adsl/ (voir conditions sur le site)
>
>
> _______________________________________________
> PyKDE mailing list PyKDE@mats.imk.fraunhofer.de
> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
--
Detlev Offenbach
detlev@die-offenbachs.de
_______________________________________________
PyKDE mailing list PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic