Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Binh
erp5
Commits
8661f0c6
Commit
8661f0c6
authored
Apr 19, 2012
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! Use sys._current_frames instead of threadframe.
Forgot to drop extra threadframe references.
parent
575004c1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
28 deletions
+15
-28
product/DeadlockDebugger/README.txt
product/DeadlockDebugger/README.txt
+0
-8
product/DeadlockDebugger/__init__.py
product/DeadlockDebugger/__init__.py
+15
-20
No files found.
product/DeadlockDebugger/README.txt
View file @
8661f0c6
...
@@ -14,14 +14,6 @@ DeadlockDebugger can of course also be used in non-deadlock situations,
...
@@ -14,14 +14,6 @@ DeadlockDebugger can of course also be used in non-deadlock situations,
when a Zope process is taking a long time and you wish to know what code
when a Zope process is taking a long time and you wish to know what code
is being executed.
is being executed.
Installation
------------
This product requires the 'threadframe' python module
(http://www.majid.info/mylos/stories/2004/06/10/threadframe.html).
When DeadlockDebugger starts, it verifies that threadframe is available,
please check the event.log for ERROR message.
Configuration
Configuration
-------------
-------------
...
...
product/DeadlockDebugger/__init__.py
View file @
8661f0c6
...
@@ -28,13 +28,8 @@ You MUST configure zope.conf before use.
...
@@ -28,13 +28,8 @@ You MUST configure zope.conf before use.
from
zLOG
import
LOG
,
INFO
,
ERROR
from
zLOG
import
LOG
,
INFO
,
ERROR
from
App.config
import
getConfiguration
from
App.config
import
getConfiguration
try
:
config
=
getConfiguration
()
import
threadframe
if
getattr
(
config
,
'product_config'
,
None
)
is
not
None
:
except
ImportError
:
LOG
(
'DeadlockDebugger'
,
ERROR
,
"Incorrectly installed threadframe module"
)
else
:
config
=
getConfiguration
()
if
getattr
(
config
,
'product_config'
,
None
)
is
not
None
:
deadlockdebugger
=
config
.
product_config
.
get
(
'deadlockdebugger'
)
deadlockdebugger
=
config
.
product_config
.
get
(
'deadlockdebugger'
)
dump_url
=
''
dump_url
=
''
secret
=
''
secret
=
''
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment