- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Netbeans - Not able to submit breakpoint LineBreakpoint Test1.scala
Thu, 2010-02-18, 22:49
Hi Everybody,
Newbie here, trying to learn Scala by writing ScalaTest cases for a Java
Project. Using NetBeans 6.8, Scala 2.8 Beta and ScalaTest 1.0.1. I am unable
to set a breakpoint and debug. Please let me know how to.
class Test1 extends FeatureSpec {
feature ("Program Pricing Rules Evaluation") {
info("Given a specific Program")
info("Calling refreshProgram results in creation of ProgramModelPrice
for all applicable Models")
scenario ("Create a new Program") {
var pgm = new Program();
pgm.setName("Scala tested Pgm") //line 20
}}
Configuration - Project Properties in NetBeans
Project Properties->BuildCategory->Compiling->
Generate Debugging Info: ON
Additional Scalac Options: -g:line
Track Java Dependancies: ON
Netbeans says:
Not able to submit breakpoint LineBreakpoint Test1.scala : 20, reason: No
executable location available at line 20 in class scalatestapp1.Test1.
Invalid LineBreakpoint Test1.scala : 20
Thanks a lot,
Dinesh