Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
c354cef
environment: Fix trace breakpoint depth handling
housel Aug 27, 2026
50c3d0f
debugger-manager: Remove commented-out Memory Pool System hacks
housel Sep 13, 2026
6519dd8
runtime-manager: Reduce consing of constant stop reasons
housel Sep 19, 2026
fe1473b
io: Print pointer addresses of <C-pointer> objects
housel Sep 19, 2026
ad594b7
runtime-manager: Force output of interactive messages
housel Sep 29, 2026
4df2b06
runtime-manager: Remove explicit debugger-manager init states
housel Sep 30, 2026
0f0ecdf
runtime-manager: Invalidate library entries on DLL unload
housel Oct 2, 2026
3ac6185
runtime-manager: Fix access-path thread and library bookkeeping
housel Oct 3, 2026
0626164
runtime-manager: Defer library initialization tracking while loading
housel Oct 3, 2026
16ddffa
runtime-manager: Improve printing of access-path objects
housel Sep 30, 2026
6359ecc
runtime-manager: Make system-initialized a first-class stop reason
housel Oct 11, 2026
0d8d442
runtime-manager: Add a generic functions breakpoint test
housel Oct 14, 2026
ec16203
environment: Fix lookup of methods in project databases
housel Oct 16, 2026
1744897
runtime-manager: Add a methods breakpoint test
housel Oct 17, 2026
46c0d08
runtime-manager: Add a class breakpoint test
housel Oct 17, 2026
56df9b2
runtime-manager: Add a source location breakpoint test
housel Oct 18, 2026
f41400e
runtime-manager: Add useful assertions to access-path
housel Oct 21, 2026
aadbfcb
runtime-manager: Add useful assertions and log messages
housel Oct 21, 2026
a823611
environment: Add useful assertions and logging to the debugger
housel Oct 21, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions sources/environment/dfmc/application/app-server.dylan
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ define sealed class <dfmc-application> (<application>)

slot application-stop-reason :: false-or(<stop-reason>) = #f;

sealed slot application-stop-reason-message :: false-or(<string>) = #f;

// phoward added the following slots

slot application-tether-status :: <application-startup-option> = #"start";
Expand Down
9 changes: 5 additions & 4 deletions sources/environment/dfmc/application/control-protocols.dylan
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,11 @@ define method run-application
else
dll-project? & dll-wrap? & phase == #"end"
end;
debug-target-message(target, $debug-level,
"Preparing %=: top? %=, dll? %=, dll-wrap? %=, phase %=",
prepare-for-interaction?, top-level?,
dll-project?, dll-wrap?, phase);
debug-target-message
(target, $debug-level,
"Preparing %=: for-interaction? %= top? %=, dll? %=, dll-wrap? %=, phase %=",
lib, prepare-for-interaction?, top-level?,
dll-project?, dll-wrap?, phase);
if (prepare-for-interaction?)
initialize-interactive-threads(application, thread);
maybe-initialize-allocation-profiling(application)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ define method note-application-thread-message
let thread :: false-or(<thread-object>)
= stop-reason-thread-object(application, stop-reason);
let message :: <string> = compose-application-message(application, stop-reason);
application.application-stop-reason-message := message;
invoke-application-callback
(application, application-thread-message-callback,
thread, message)
Expand Down Expand Up @@ -437,13 +438,6 @@ end method note-application-process-finished;

define constant $depth-indentation = 2;

define sealed method application-stop-reason-message
(application :: <dfmc-application>)
=> (message :: false-or(<string>))
let stop-reason = application.application-stop-reason;
stop-reason & compose-application-message(application, stop-reason)
end method application-stop-reason-message;

define method compose-application-message
(application :: <dfmc-application>, stop-reason :: <stop-reason>)
=> (message :: <string>)
Expand Down Expand Up @@ -1044,6 +1038,7 @@ define function finish-debugging-transaction
(application :: <dfmc-application>, stop-reason :: <stop-reason>)
=> ()
application.application-stop-reason := #f;
application.application-stop-reason-message := #f;
application.application-just-initialized? := #f;
application.application-reached-interaction-point? := #f;
application.application-just-finished-execution? := #f;
Expand Down
5 changes: 4 additions & 1 deletion sources/environment/dfmc/application/thread-objects.dylan
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,10 @@ end method;

define method initialize-interactive-threads
(application :: <dfmc-application>, thread :: <remote-thread>)
=> ()
=> ()
assert(application.application-initialized-interactive-threads? == #f,
"the interactive threads should only be spawned once");

// Spawn these three interactive threads after
// library initialization is complete
let target = application.application-target-app;
Expand Down
2 changes: 1 addition & 1 deletion sources/environment/protocols/project-objects.dylan
Original file line number Diff line number Diff line change
Expand Up @@ -1224,7 +1224,7 @@ define method %find-environment-object
end method %find-environment-object;

define method find-environment-object
(project :: <project-object>, id :: <definition-id>,
(project :: <project-object>, id :: <id>,
#rest keys,
#key, #all-keys)
=> (object :: false-or(<environment-object>))
Expand Down
Loading
Loading