Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
stoplast - set a breakpoint in the procedure that most recently raised an exception
Calling Sequence
stoplast(statNum)
Parameters
statNum
-
(optional) statement number at which to stop in the procedure
Description
The stoplast function sets a breakpoint in the procedure that most recently raised an exception in the active Maple session. The next time that procedure is invoked, the debugger is activated (see stopat).
The stoplast function accepts one optional integer argument. If statNum is specified, stoplast stops at the specified statement in the procedure instead of at the beginning of the procedure. This argument is equivalent to the statNum argument to the stopat() function. For more information, see stopat.
Examples
Note: These examples illustrate the use of these debugger commands in Maple's command-line interface. In the standard (graphical) interface, the debugger runs in its own window, with controls for most of the common commands. See Interactive Maple Debugger for details.
foo := proc() error "test"; end proc;
Error, (in foo) test
foo:
1* error "test"
DBG> cont
See Also
Interactive Maple Debugger, stopat, stoperror, stopwhen, stopwhenif
Download Help Document