Index: /trunk/RELEASE_NOTES.txt
===================================================================
--- /trunk/RELEASE_NOTES.txt	(revision 5037)
+++ /trunk/RELEASE_NOTES.txt	(revision 5040)
@@ -32,9 +32,12 @@
     successful.
 
-    Added missing dynamic directives in the definition of the pseudo-object
-    "user".
+    Added missing dynamic directives in the definition of the pseudo-objects
+    "debugger" and "user".
 
     Eliminated message-sending overheads when sending messages to the pseudo-
     object "user".
+
+    Allow the "debugger" built-in object to play the role of both a class and
+    a prototype when being specialized or extended.
 
     Added support for compiling module-qualified arguments in calls to Prolog
Index: /trunk/compiler/logtalk.pl
===================================================================
--- /trunk/compiler/logtalk.pl	(revision 5039)
+++ /trunk/compiler/logtalk.pl	(revision 5040)
@@ -3965,4 +3965,7 @@
 % the following clauses correspond to a virtual compilation of the built-in object debugger
 
+:- dynamic('$lgt_bio_debugger_0__ddcl'/2).
+:- dynamic('$lgt_bio_debugger_0__ddef'/3).
+
 
 % debugger public protocol
@@ -3991,4 +3994,7 @@
 	'$lgt_bio_debugger_0__dcl'(Pred, Scope, Type, Meta, NonTerminal, Synchronized).
 
+'$lgt_bio_debugger_0__dcl'(Pred, Scope, (dynamic), no, no, no, debugger, debugger) :-
+	'$lgt_bio_debugger_0__ddcl'(Pred, Scope).
+
 
 '$lgt_bio_debugger_0__def'(reset, _, '$lgt_dbg_reset').
@@ -4014,4 +4020,15 @@
 '$lgt_bio_debugger_0__def'(Pred, ExCtx, Call, debugger) :-
 	'$lgt_bio_debugger_0__def'(Pred, ExCtx, Call).
+
+'$lgt_bio_debugger_0__def'(Pred, ExCtx, Call, debugger) :-
+	'$lgt_bio_debugger_0__ddef'(Pred, ExCtx, Call).
+
+
+'$lgt_bio_debugger_0__idcl'(Pred, Scope, (dynamic), no, no, no, debugger, debugger) :-
+	'$lgt_bio_debugger_0__ddcl'(Pred, Scope).
+
+
+'$lgt_bio_debugger_0__idef'(Pred, ExCtx, Call, debugger) :-
+	'$lgt_bio_debugger_0__ddef'(Pred, ExCtx, Call).
 
 
