Commit Graph

308 Commits

Author SHA1 Message Date
Darren Ranalli e79a864125 working exception variable dump 2008-09-03 21:16:09 +00:00
Redmond Urbino 189626a483 fix garbage report crash 2008-08-25 22:58:05 +00:00
Darren Ranalli 29b7a72de9 added deeptype, fixed itype for class instances, added maxLen=None for fastRepr 2008-07-28 20:58:32 +00:00
Darren Ranalli 498e7a826a enable ~profile outside of __dev__ 2008-07-02 06:30:16 +00:00
Darren Ranalli b06bf4d776 added DestructiveScratchPad 2008-06-23 17:49:56 +00:00
Darren Ranalli ad5749c61e added formatTimeCompact 2008-06-19 21:05:31 +00:00
Zachary Pavlov c2aa7b17e4 new breakpointing system 2008-05-09 23:29:50 +00:00
Darren Ranalli ba6a59d1dc reduced memory footprint for creation stack traces 2008-03-25 00:57:44 +00:00
Darren Ranalli 9dd90b0e8b added listToIndex2item and listToItem2index 2008-03-04 01:19:26 +00:00
Josh Wilson 529736be94 renaming DeveloperException to HierarchyException. Tweaking MiniLogSentry 2008-02-15 00:51:38 +00:00
Darren Ranalli 3de08e0553 added ArgumentEater.destroy 2008-02-06 23:09:08 +00:00
Darren Ranalli be5b01b85e print Functor creation stacks before the exception stacktrace 2008-01-30 01:40:24 +00:00
Josh Wilson 627f2d0ff7 adding class DeveloperException 2008-01-15 21:36:08 +00:00
Darren Ranalli 75568bb885 added printReverseStack 2008-01-11 23:23:35 +00:00
Josh Wilson 3ff1c7a8a7 adding getShortestRotation(): useful for preventing spins in camera lerps 2008-01-10 19:54:20 +00:00
Darren Ranalli 596a1867c3 print Functor creation stacks after traceback in in __dev__ 2008-01-10 00:57:23 +00:00
Darren Ranalli 1892796e2a added printCreationStackTrace to Functors in __dev__ 2008-01-05 00:32:51 +00:00
Darren Ranalli 89638440e5 fixed FrameDelayedCall destroy/finish if callback already called, added destroy/finish to DelayedCall 2007-12-20 23:13:56 +00:00
Josh Wilson 276ebfa924 adding logBlock 2007-12-20 00:19:26 +00:00
Josh Yelon e6cca5ec86 Changes for python 2.5 2007-12-08 21:49:14 +00:00
Josh Wilson 1d9814f00c adding MiniLog and MiniLogSentry classes. Use these to capture a complex process and print the result when complete. 2007-12-07 22:32:37 +00:00
Josh Wilson 0058ff9756 adding MiniLog and MiniLogSentry classes. Use these to capture a complex process and print the result when complete. 2007-12-07 19:12:38 +00:00
Darren Ranalli 8127bcb6b3 added 'safe' mode to GarbageReport for dealing with C++ crashes in __repr__ 2007-11-13 21:23:28 +00:00
Zachary Pavlov a20301a2b5 faster tasks and network updates from objects 2007-10-16 23:49:18 +00:00
Darren Ranalli a5502e3b43 POD: fixed compilation of DataSet wrt inheritance, removed unnecessary getter default value handling, better documentation, more testing 2007-10-11 23:13:44 +00:00
Joe Shochet 3000263819 opt for decorator when in production 2007-10-01 05:24:32 +00:00
Darren Ranalli 2ac571f424 added assertable setTrace 2007-09-20 20:44:21 +00:00
Josh Wilson 4624cd0107 added 'xform' parameter to report 2007-09-19 00:46:31 +00:00
Darren Ranalli c9a30b710f added report to builtin 2007-08-24 19:19:21 +00:00
David Rose e4ba1d426a whoops, can't import libpandaexpressModules at the top 2007-08-07 14:52:56 +00:00
David Rose 55a769760d attempt to work around showbase startup order issue 2007-08-06 20:41:20 +00:00
Josh Wilson 2623432189 "added 'module' option" 2007-07-17 19:17:48 +00:00
Joe Shochet 0f53bb4b55 *** empty log message *** 2007-07-16 22:11:16 +00:00
Greg Wiatroski 7d8ec647e4 Clean up import syntax 2007-06-28 22:21:42 +00:00
Justin Butler 96d5b27bb7 Fixed task name generation for SubframeCall for my prevously added cleanup code. 2007-06-28 02:35:08 +00:00
Zachary Pavlov f2f61a626c moved profiling code into showbase for a more reasonable access 2007-06-25 21:23:19 +00:00
Justin Butler 8c0f73dfca Added cleanup method to SubframeCall 2007-06-21 02:27:24 +00:00
Darren Ranalli 22bd600524 added SubframeCall 2007-06-19 23:59:50 +00:00
Zachary Pavlov 4eee3a23e9 no hotshot 2007-06-01 00:02:39 +00:00
Zachary Pavlov b62e15207c oops, missed som formatting and calibration issues 2007-05-30 02:40:57 +00:00
Zachary Pavlov 582acfb7b9 better profiling option 2007-05-30 01:18:44 +00:00
Zachary Pavlov 5d7d58a5bc new profiler options 2007-05-30 00:15:04 +00:00
Zachary Pavlov 16ee78a4be more accurate timing 2007-05-24 19:02:56 +00:00
Zachary Pavlov a2a8f7297f better profiled function, with capabilities for production 2007-05-24 02:11:24 +00:00
Darren Ranalli 33d2e386b8 use classmethod, more concise Functor.__call__ implementation 2007-05-18 22:43:33 +00:00
Darren Ranalli 46ea4b8474 improved ~objects 2007-05-18 21:45:15 +00:00
Darren Ranalli f146e74f9c reduced ParamObj memory usage 2007-05-15 21:38:33 +00:00
Darren Ranalli bc11859271 reduced ParamObj memory usage, fixed bug in param setter/getPriorValue 2007-05-14 23:08:19 +00:00
Joe Shochet 09e7a09fb2 dont create a new name for Functors to save memory 2007-05-13 17:42:40 +00:00
Darren Ranalli 14fef89ca9 setTrace->set_trace 2007-05-08 06:20:23 +00:00
Darren Ranalli 12d0fc68c0 pdb is not published, don't crash in production 2007-05-07 23:31:47 +00:00
Darren Ranalli 139e6daa6f setTrace and pm, removed unnecessary assert utils 2007-05-04 22:23:50 +00:00
Josh Wilson 988f9d0816 added persistent breakPts for HotKeyBreaker 2007-05-02 22:37:34 +00:00
Asad M. Zaman ca36b0fe57 Josh: made some changes to the breakpoint code 2007-05-02 18:05:01 +00:00
Josh Wilson 2787296f8c "extended HotkeyBreaker, made report more intelligent about when to wrap" 2007-05-02 04:08:09 +00:00
Darren Ranalli 7e62ef430f added choice, put try/accept in fastRepr 2007-04-26 01:17:46 +00:00
Darren Ranalli aa1193a076 added new items to __all__ 2007-04-18 09:35:58 +00:00
Darren Ranalli c6fdac34e3 put StackTrace in __builtin__ 2007-04-18 05:34:28 +00:00
Darren Ranalli 09926188fd prevent infinite iteration in flywheel 2007-04-18 00:59:10 +00:00
Darren Ranalli 89278bf460 added nullGen, loopGen, flywheel 2007-04-17 06:48:11 +00:00
Josh Wilson 71235ae279 "changed order of prefix, added documentation to report" 2007-04-12 19:18:46 +00:00
Darren Ranalli b3f7067483 break ParamObj garbage cycle 2007-04-10 02:32:48 +00:00
Darren Ranalli b6cafaa582 put safeRepr and fastRepr in __builtin__ 2007-04-09 07:26:16 +00:00
Darren Ranalli a463d3cffe added getBase to __builtin__ 2007-04-06 12:37:35 +00:00
Josh Wilson dd2b5cd97c adjust way we use dConfigParam in report 2007-03-19 20:57:45 +00:00
Josh Wilson 41c519ad20 added prefix and network time (deltaStamp) reporting to report() 2007-03-13 23:41:16 +00:00
Darren Ranalli 1e5fdf94f6 added ~objectcount and ~aiobjectcount 2007-03-07 03:40:22 +00:00
Darren Ranalli 2527c1bb07 added ParamObj.getCurrentParams 2007-03-01 00:46:40 +00:00
Josh Wilson 804d0dde03 better exception wrapping for __dev__ builtin in report() 2007-02-26 21:26:08 +00:00
Darren Ranalli f6e614c9d6 make printStack* assertable 2007-02-22 05:03:59 +00:00
Darren Ranalli aa9e13efe1 FrameDelayedCallback->FrameDelayedCall, bug fixes, moved DelayedFunctor (no changes) 2007-02-22 00:13:08 +00:00
Darren Ranalli f7c127f452 added util classes to __builtin__ 2007-02-21 23:17:16 +00:00
Josh Wilson dab0454ca0 now we can pass in multiple dConfigParams to report 2007-02-19 22:34:39 +00:00
Darren Ranalli c155ffa619 added support for callable default value generators in ParamObj.ParamSet to avoid sharing of modified default values between instances 2007-02-17 08:40:11 +00:00
Darren Ranalli 6eb422c26c added support for callable default value generators in POD to avoid modification of default values 2007-02-17 08:26:48 +00:00
Darren Ranalli 02183867c0 don't include recordCreationStack in recorded creation stack 2007-02-17 07:34:57 +00:00
Darren Ranalli 70076bfe26 added printStack and printVerboseStack 2007-02-17 07:32:53 +00:00
Darren Ranalli 9449c113df added pivotScalar, rad90/180/270/360 2007-01-29 23:17:08 +00:00
Darren Ranalli 8f59fd735b makeList, makeTuple in __builtin__ 2007-01-26 02:58:09 +00:00
Darren Ranalli d265ae2a61 added notNone, put clampScalar in __builtin__ 2007-01-26 01:30:12 +00:00
Darren Ranalli 35cefd4463 add bound and lerp to builtins 2007-01-25 18:51:01 +00:00
Darren Ranalli 0c9ebbc8d1 added iterator for Enum 2007-01-22 18:50:03 +00:00
Darren Ranalli 8e40eec7de added ScratchPad.destroy() 2007-01-18 01:27:50 +00:00
Josh Wilson 4ec281ba89 added config variable support to report 2007-01-17 00:51:34 +00:00
Josh Wilson 54471a94f7 *** empty log message *** 2007-01-11 04:45:10 +00:00
Josh Wilson 7454d3e33e added HotkeyBreaker 2007-01-05 20:03:59 +00:00
Darren Ranalli 208dfd2d94 added GoldenRectangle 2006-12-28 23:52:14 +00:00
Darren Ranalli a0307f90a0 added 'append' option to exceptionLogged to print out before or after stack trace 2006-12-27 19:58:18 +00:00
Darren Ranalli d7b0ba8510 added anonymous profiling that doesn't need to be configed on for ~profile 2006-12-27 19:56:52 +00:00
Darren Ranalli 60719cbf5c added appendStr, converted exceptionLogged to use it so that info shows up after stack trace 2006-12-26 21:14:47 +00:00
Darren Ranalli 5cef07f324 added logMethodCalls 2006-12-09 03:12:35 +00:00
Josh Wilson 41d23c0e92 try/except existence of __dev__ in report 2006-12-06 21:54:14 +00:00
Darren Ranalli 14722c112b removed .py from compact StackTrace, added recordCreationStack 2006-11-16 04:44:28 +00:00
aignacio_sf e5ecbbfc16 Fix lantern problem. 2006-11-15 01:14:17 +00:00
Darren Ranalli 5797b16416 added StackTrace().compact() 2006-11-15 00:02:07 +00:00
Zachary Pavlov e438f27d76 flattenShip kills effects now 2006-11-14 22:56:49 +00:00
Zachary Pavlov b77514867b added a ship flattening test function 2006-11-14 21:28:45 +00:00
Darren Ranalli 6cf3110653 added note about StackTrace not being a crash 2006-11-13 22:22:48 +00:00
Dickinson Lo 3fb756cfb2 removed if debug clause to import traceback, for TEST ONLY! 2006-11-10 03:45:32 +00:00
Darren Ranalli 23750a227a give names to FrameDelayedCallbacks 2006-11-09 22:45:36 +00:00