Message Boards Message Boards

1
|
2844 Views
|
0 Replies
|
1 Total Likes
View groups...
Share
Share this post:

How to set a breakpoint in a package?

Posted 4 years ago

Still learning Workbench. Moving some code into packages. Would like to test and review the code with Workbench running in Eclipse. It does work; however, I have been unable to have the debugger stop in a function in the package. Have been through the video Basic Debugging and Wolfram Workbench a few times. Can repeat those examples, however, those examples do not show using a package. The steps I am following are the following:

  1. make a new Wolfram Application in Workbench
  2. fill out the package (call it "newPackage`", with a few functions
  3. open up the test notebook from Eclipse (use Debug as ...)
  4. run the functions, they work as expected (note, it seems to require first running Get["newPackage`"] )
  5. set a break point in the .m file for the package,
  6. run the function from the test notebook, the function runs but does not stop at the break point

Is it possible to set a breakpoint in a Package? Is there another video or instructions that might help me find my error?

Thanks!

POSTED BY: Robert McHugh
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract